Свойство | Тип | Описание | |
---|---|---|---|
Draw | void | ||
Update | void |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Результат | void |
public MoveTo ( Zeplin.GameObject movedObject, |
||
movedObject | Zeplin.GameObject | |
destinationLayer | The layer to move the actor to | |
Результат | bool |
public Remove ( Zeplin.GameObject removedObject ) : bool | ||
removedObject | Zeplin.GameObject | The IGameObjectProvider to be removed |
Результат | bool |