Class ccs.BaseData

Class Summary
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.Color4B} getColor()
    color getter
    Returns:
    {cc.Color4B}
  • setColor(color)
    color setter
    Parameters:
    {cc.Color4B} 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