Face
Description:
Represents a definition for a visual component of a game bullet or other visual item.
Class Object: Platformer.Face Class.
Inherits from: Object.
addChild
Type: Function.
Description:
Adds a child Face
definition to it.
Signature:
addChild: function(self: Face, face: Face)
Parameters:
Parameter | Type | Description |
---|---|---|
face | Face | The child Face to add. |
toNode
Type: Function.
Description:
Returns a node that can be added to a scene tree for rendering.
Signature:
toNode: function(self: Face): Node
Returns:
Return Type | Description |
---|---|
Node | The Node representing this Face . |