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

CCTMXObjectGroup represents the TMX object group. More...

#include <CCTMXObjectGroup.h>

Inheritance diagram for CCTMXObjectGroup:
CCObject CCCopying

Public Member Functions

virtual const CCPointgetPositionOffset (void)
 getPositionOffset More...
 
var getPositionOffset ()
 getPositionOffset More...
 
local getPositionOffset ()
 getPositionOffset More...
 
virtual void setPositionOffset (const CCPoint &var)
 set# PositionOffset More...
 
virtual CCDictionarygetProperties (void)
 getProperties More...
 
virtual void setProperties (CCDictionary *var)
 setProperties More...
 
virtual CCArraygetObjects (void)
 getObjects More...
 
local getObjects ()
 getObjects More...
 
virtual void setObjects (CCArray *var)
 setObjects More...
 
 CCTMXObjectGroup ()
virtual ~CCTMXObjectGroup ()
const char * getGroupName ()
void setGroupName (const char *groupName)
CCStringpropertyNamed (const char *propertyName)
 return the value for the specific property name More...
 
CCDictionaryobjectNamed (const char *objectName)
 return the dictionary for the specific object name. More...
 
- 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)

Protected Attributes

CCPoint m_tPositionOffset
 offset position of child objects More...
 
var m_tPositionOffset
 offset position of child objects More...
 
local m_tPositionOffset
 offset position of child objects More...
 
CCDictionarym_pProperties
 list of properties stored in a dictionary More...
 
var m_pProperties
 list of properties stored in a dictionary More...
 
local m_pProperties
 list of properties stored in a dictionary More...
 
CCArraym_pObjects
 array of the objects More...
 
std::string m_sGroupName
 name of the group More...
 
- 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

Detailed Description

CCTMXObjectGroup represents the TMX object group.

Since
v0.99.0

Constructor & Destructor Documentation

var ctor ( )
local CCTMXObjectGroup ( )
virtual ~CCTMXObjectGroup ( )
virtual

Member Function Documentation

const char* getGroupName ( )
inline
var getGroupName ( )
inline
local getGroupName ( )
inline
virtual CCArray* getObjects ( void  )
virtual

getObjects

var getObjects (   )
virtual

getObjects

local getObjects (   )
virtual

getObjects

virtual const CCPoint&
getPositionOffset
( void  )
virtual

getPositionOffset

var getPositionOffset (   )
virtual

getPositionOffset

local getPositionOffset (   )
virtual

getPositionOffset

virtual CCDictionary* getProperties ( void  )
virtual

getProperties

var getProperties (   )
virtual

getProperties

local getProperties (   )
virtual

getProperties

CCDictionary* objectNamed ( const char *  objectName)

return the dictionary for the specific object name.

It will return the 1st object found on the array for the given name.

var objectNamed ( var  objectName)

return the dictionary for the specific object name.

It will return the 1st object found on the array for the given name.

local objectNamed ( local  objectName)

return the dictionary for the specific object name.

It will return the 1st object found on the array for the given name.

CCString* propertyNamed ( const char *  propertyName)

return the value for the specific property name

var propertyNamed ( var  propertyName)

return the value for the specific property name

local propertyNamed ( local  propertyName)

return the value for the specific property name

void setGroupName ( const char *  groupName)
inline
var setGroupName ( var  groupName)
inline
local setGroupName ( local  groupName)
inline
virtual void setObjects ( CCArray var)
virtual

setObjects

var setObjects ( var  var)
virtual

setObjects

local setObjects ( local  var)
virtual

setObjects

virtual void setPositionOffset ( const CCPoint var)
virtual

set# PositionOffset

var setPositionOffset ( var  var)
virtual

set# PositionOffset

local setPositionOffset ( local  var)
virtual

set# PositionOffset

virtual void setProperties ( CCDictionary var)
virtual

setProperties

var setProperties ( var  var)
virtual

setProperties

local setProperties ( local  var)
virtual

setProperties

Member Data Documentation

CCArray* m_pObjects
protected

array of the objects

var m_pObjects
protected

array of the objects

local m_pObjects
protected

array of the objects

CCDictionary* m_pProperties
protected

list of properties stored in a dictionary

var m_pProperties
protected

list of properties stored in a dictionary

local m_pProperties
protected

list of properties stored in a dictionary

std::string m_sGroupName
protected

name of the group

var m_sGroupName
protected

name of the group

local m_sGroupName
protected

name of the group

CCPoint m_tPositionOffset
protected

offset position of child objects

var m_tPositionOffset
protected

offset position of child objects

local m_tPositionOffset
protected

offset position of child objects


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