Class ccs.BaseData
- Defined in: CCDatas.js
- Extends ccs.Class
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for ccs.BaseData objects.
|
Method Summary
Class Detail
ccs.BaseData()
Base class for ccs.BaseData objects.
Method Detail
-
copy(node)Copy data from node
- Parameters:
- {ccs.BaseData} node
-
{cc.Color} getColor()color getter
- Returns:
- {cc.Color}
-
setColor(color)color setter
- Parameters:
- {cc.Color} color
-
subtract(from, to, limit)Calculate two baseData's between value(to - from) and set to self
- Parameters:
- {ccs.BaseData} from
- {ccs.BaseData} to
- {Boolean} limit