cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBKeyframe Class Reference

#include <CCBKeyframe.h>

Inheritance diagram for CCBKeyframe:
Object

Public Types

enum  EasingType {
  INSTANT, LINEAR, CUBIC_IN, CUBIC_OUT,
  CUBIC_INOUT, ELASTIC_IN, ELASTIC_OUT, ELASTIC_INOUT,
  BOUNCE_IN, BOUNCE_OUT, BOUNCE_INOUT, BACK_IN,
  BACK_OUT, BACK_INOUT
}
 

Public Member Functions

 CCBKeyframe ()
 ~CCBKeyframe ()
const cocos2d::ValuegetValue () const
var getValue ()
local getValue ()
void setValue (const cocos2d::Value &value)
cocos2d::ObjectgetObject () const
var getObject ()
void setObject (cocos2d::Object *obj)
float getTime ()
void setTime (float fTime)
EasingType getEasingType ()
local getEasingType ()
void setEasingType (EasingType easingType)
float getEasingOpt ()
void setEasingOpt (float fEasingOpt)
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
unsigned int getReferenceCount () const
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
- Protected Attributes inherited from Object
unsigned int _referenceCount
 count of references More...
 

Member Enumeration Documentation

enum EasingType
strong
Enumerator
INSTANT 
LINEAR 
CUBIC_IN 
CUBIC_OUT 
CUBIC_INOUT 
ELASTIC_IN 
ELASTIC_OUT 
ELASTIC_INOUT 
BOUNCE_IN 
BOUNCE_OUT 
BOUNCE_INOUT 
BACK_IN 
BACK_OUT 
BACK_INOUT 
var EasingType
strong
Enumerator
INSTANT 
LINEAR 
CUBIC_IN 
CUBIC_OUT 
CUBIC_INOUT 
ELASTIC_IN 
ELASTIC_OUT 
ELASTIC_INOUT 
BOUNCE_IN 
BOUNCE_OUT 
BOUNCE_INOUT 
BACK_IN 
BACK_OUT 
BACK_INOUT 
local EasingType
strong
Enumerator
INSTANT 
LINEAR 
CUBIC_IN 
CUBIC_OUT 
CUBIC_INOUT 
ELASTIC_IN 
ELASTIC_OUT 
ELASTIC_INOUT 
BOUNCE_IN 
BOUNCE_OUT 
BOUNCE_INOUT 
BACK_IN 
BACK_OUT 
BACK_INOUT 

Constructor & Destructor Documentation

Member Function Documentation

float getEasingOpt ( )
var getEasingOpt ( )
local getEasingOpt ( )
EasingType getEasingType ( )
var getEasingType ( )
local getEasingType ( )
cocos2d::Object* getObject ( ) const
var getObject ( )
local getObject ( )
float getTime ( )
var getTime ( )
local getTime ( )
const cocos2d::Value& getValue ( ) const
var getValue ( )
local getValue ( )
void setEasingOpt ( float  fEasingOpt)
var setEasingOpt ( var  fEasingOpt)
local setEasingOpt ( local  fEasingOpt)
void setEasingType ( EasingType  easingType)
var setEasingType ( var  easingType)
local setEasingType ( local  easingType)
void setObject ( cocos2d::Object obj)
var setObject ( var  obj)
local setObject ( local  obj)
void setTime ( float  fTime)
var setTime ( var  fTime)
local setTime ( local  fTime)
void setValue ( const cocos2d::Value value)
var setValue ( var  value)
local setValue ( local  value)

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