프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |