C# 클래스 Terrarium.Game.Teleporter

파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : Teleporter

Clones a teleporter to create a new copy.

GetTeleportZone ( int ID ) : TeleportZone

Provides access to the teleportation zones by ID.

GetTeleportZones ( ) : Terrarium.Game.TeleportZone[]

Provides access to the collection of TeleportZone objects.

IsInTeleporter ( OrganismBase.OrganismState state ) : System.Boolean

Determines if a given creature exists within any of the teleport zones and if so notifies the caller.

Move ( ) : void

Moves all teleporation zones around the board.

Teleporter ( int zoneCount ) : System

Creates a Teleporter with the specified number of zones.

메소드 상세

Clone() 공개 메소드

Clones a teleporter to create a new copy.
public Clone ( ) : Teleporter
리턴 Teleporter

GetTeleportZone() 공개 메소드

Provides access to the teleportation zones by ID.
public GetTeleportZone ( int ID ) : TeleportZone
ID int The ID for the teleporter to retrieve.
리턴 TeleportZone

GetTeleportZones() 공개 메소드

Provides access to the collection of TeleportZone objects.
public GetTeleportZones ( ) : Terrarium.Game.TeleportZone[]
리턴 Terrarium.Game.TeleportZone[]

IsInTeleporter() 공개 메소드

Determines if a given creature exists within any of the teleport zones and if so notifies the caller.
public IsInTeleporter ( OrganismBase.OrganismState state ) : System.Boolean
state OrganismBase.OrganismState The organism state to be checked
리턴 System.Boolean

Move() 공개 메소드

Moves all teleporation zones around the board.
public Move ( ) : void
리턴 void

Teleporter() 공개 메소드

Creates a Teleporter with the specified number of zones.
public Teleporter ( int zoneCount ) : System
zoneCount int The number of moving teleport zones.
리턴 System