C# Класс Gruppe22.Backend.ActorTile

A tile on the map used to represent an actor.
Наследование: Tile
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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