cocos2d-x  2.1.1

#include <CCGeometry.h>

Public Member Functions

 CCSize ()
 
 CCSize (float width, float height)
 
 CCSize (const CCSize &other)
 
CCSizeoperator= (const CCSize &other)
 
void setSize (float width, float height)
 
bool equals (const CCSize &target) const
 

Public Attributes

float width
 
float height
 

Constructor & Destructor Documentation

CCSize ( )
CCSize ( float  width,
float  height 
)
CCSize ( const CCSize other)

Member Function Documentation

bool equals ( const CCSize target) const
CCSize& operator= ( const CCSize other)
void setSize ( float  width,
float  height 
)

Member Data Documentation

float height
float width

The documentation for this class was generated from the following file:
  • /Users/zhangkoumyou/SourceCode/cocos2d-x/cocos2dx/cocoa/CCGeometry.h