Property | Type | Description | |
---|---|---|---|
Draw | void | ||
Update | void |
Method | Description | |
---|---|---|
Add ( Zeplin.GameObject addedObject ) : void |
Adds a GameObject to this layer
|
|
Layer ( ) : System |
Constructs a layer with empty actor and tile collections
|
|
MoveTo ( Zeplin.GameObject movedObject, |
Moves an actor to another layer
|
|
Remove ( Zeplin.GameObject removedObject ) : bool |
Removes an object from this layer
|
Method | Description | |
---|---|---|
Draw ( |
Causes the game objects on this layer to draw themselves.
|
|
Update ( |
Causes the tiles and actors owned by this layer to update themselves
|
public Add ( Zeplin.GameObject addedObject ) : void | ||
addedObject | Zeplin.GameObject | The added GameObject |
return | void |
public MoveTo ( Zeplin.GameObject movedObject, |
||
movedObject | Zeplin.GameObject | |
destinationLayer | The layer to move the actor to | |
return | bool |
public Remove ( Zeplin.GameObject removedObject ) : bool | ||
removedObject | Zeplin.GameObject | The IGameObjectProvider to be removed |
return | bool |