C# 클래스 Gruppe22.Backend.ActorTile

A tile on the map used to represent an actor.
상속: Tile
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
ActorTile ( object parent, Actor actor ) : System

The constructor for the ActorTile Calls the constructor of Tile.

ActorTile ( object parent, Random r = null ) : System

The constructor for the ActorTile. Calls the parent constructor.

ConsiderMoves ( ) : System.Threading.Tasks.Task

Die in erwägung gezogene Bewegung.

DropItems ( ) : void

Method to drop the full inventory of the connected player to the tile he stands on.

Save ( XmlWriter xmlw ) : void

Method to save the actortile. Calls the save-method of the connected actor.

Update ( Microsoft gameTime ) : void

the update-routine for the ActorTile.

WorkoutMoves ( ) : System.Threading.Tasks.Task

Method to determine the next moves of a computer controlled actor.

메소드 상세

ActorTile() 공개 메소드

The constructor for the ActorTile Calls the constructor of Tile.
public ActorTile ( object parent, Actor actor ) : System
parent object Just the parent object
actor Actor The to the tile connected actor.
리턴 System

ActorTile() 공개 메소드

The constructor for the ActorTile. Calls the parent constructor.
public ActorTile ( object parent, Random r = null ) : System
parent object Parent
r System.Random A random needed for some methods
리턴 System

ConsiderMoves() 공개 메소드

Die in erwägung gezogene Bewegung.
public ConsiderMoves ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

DropItems() 공개 메소드

Method to drop the full inventory of the connected player to the tile he stands on.
public DropItems ( ) : void
리턴 void

Save() 공개 메소드

Method to save the actortile. Calls the save-method of the connected actor.
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter The used XMLwriter
리턴 void

Update() 공개 메소드

the update-routine for the ActorTile.
public Update ( Microsoft gameTime ) : void
gameTime Microsoft The Gametime
리턴 void

WorkoutMoves() 공개 메소드

Method to determine the next moves of a computer controlled actor.
public WorkoutMoves ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task