메소드 | 설명 | |
---|---|---|
Clone ( ) : |
Clones a TeleportZone object.
|
|
Contains ( OrganismBase.OrganismState state ) : System.Boolean |
Determines if the given organism state is within teleport zone.
|
|
SetRectangle ( |
Sets the size and location of the teleport zone.
|
|
SetVector ( OrganismBase.MovementVector vector ) : |
Get a new teleport zone that is initialized with a different movement vector.
|
|
TeleportZone ( |
Creates a new teleportzone with all fields initialized.
|
public Contains ( OrganismBase.OrganismState state ) : System.Boolean | ||
state | OrganismBase.OrganismState | The state being checked. |
리턴 | System.Boolean |
public SetRectangle ( |
||
rectangle | The new size and location of this teleporter. | |
리턴 |
public SetVector ( OrganismBase.MovementVector vector ) : |
||
vector | OrganismBase.MovementVector | The new movement vector. |
리턴 |
public TeleportZone ( |
||
rectangle | The location and size of the zone. | |
vector | OrganismBase.MovementVector | The movement vector of the zone. |
ID | int | The ID for this zone. |
리턴 | System |