cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ColorFrame Class Reference

#include <CCFrame.h>

Inheritance diagram for ColorFrame:
Frame CCObject CCCopying

Public Member Functions

 ColorFrame ()
virtual void onEnter (Frame *nextFrame)
local onEnter ( local nextFrame)
virtual void apply (float percent)
local apply ( local percent)
virtual Frameclone ()
void setAlpha (GLubyte alpha)
GLubyte getAlpha () const
void setColor (const cocos2d::ccColor3B &color)
local setColor ( local color)
cocos2d::ccColor3B getColor () const
- Public Member Functions inherited from Frame
virtual void setFrameIndex (unsigned int frameIndex)
virtual unsigned int getFrameIndex () const
virtual void setTimeline (Timeline *timeline)
virtual TimelinegetTimeline () const
local getTimeline ()
virtual void setNode (cocos2d::CCNode *node)
local setNode ( local node)
virtual cocos2d::CCNodegetNode () const
local getNode ()
virtual void setTween (bool tween)
var setTween ( var tween)
local setTween ( local tween)
virtual bool isTween () const
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static ColorFramecreate ()
local create ()

Protected Attributes

GLubyte _alpha
cocos2d::ccColor3B _color
var _color
local _color
int _betweenAlpha
int _betweenRed
int _betweenGreen
int _betweenBlue
- Protected Attributes inherited from Frame
unsigned int _frameIndex
bool _tween
Timeline_timeline
cocos2d::CCNode_node
- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Additional Inherited Members

- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID
- Protected Member Functions inherited from Frame
 Frame ()
virtual ~Frame ()
virtual void emitEvent ()
void cloneProperty (Frame *frame)

Constructor & Destructor Documentation

var ColorFrame ( )
local ColorFrame ( )

Member Function Documentation

virtual void apply ( float  percent)
virtual

Reimplemented from Frame.

var apply ( var  percent)
virtual

Reimplemented from Frame.

local apply ( local  percent)
virtual

Reimplemented from Frame.

virtual Frame* clone ( )
virtual

Implements Frame.

var clone ( )
virtual

Implements Frame.

local clone ( )
virtual

Implements Frame.

static ColorFrame* create ( )
static
var create ( )
static
local create ( )
static
GLubyte getAlpha ( ) const
inline
var getAlpha ( )
inline
local getAlpha ( )
inline
cocos2d::ccColor3B getColor ( ) const
inline
var getColor ( )
inline
local getColor ( )
inline
virtual void onEnter ( Frame nextFrame)
virtual

Implements Frame.

var onEnter ( var  nextFrame)
virtual

Implements Frame.

local onEnter ( local  nextFrame)
virtual

Implements Frame.

void setAlpha ( GLubyte  alpha)
inline
var setAlpha ( var  alpha)
inline
local setAlpha ( local  alpha)
inline
void setColor ( const cocos2d::ccColor3B &  color)
inline
var setColor ( var  color)
inline
local setColor ( local  color)
inline

Member Data Documentation

GLubyte _alpha
protected
var _alpha
protected
local _alpha
protected
int _betweenAlpha
protected
var _betweenAlpha
protected
local _betweenAlpha
protected
int _betweenBlue
protected
var _betweenBlue
protected
local _betweenBlue
protected
int _betweenGreen
protected
var _betweenGreen
protected
local _betweenGreen
protected
int _betweenRed
protected
var _betweenRed
protected
local _betweenRed
protected
cocos2d::ccColor3B _color
protected
var _color
protected
local _color
protected

The documentation for this class was generated from the following file: