C# 클래스 Gruppe22.Backend.FloorTile

A tile representing the floor of the world. Everything is build on the floor and actors also move on the floor.
상속: Tile, IDisposable
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_coords Backend.Coords
_overlay List

공개 메소드들

메소드 설명
Add ( Tile tile, bool update = false ) : void

Fügt den angegebenen Tile zu dem overlay hinzu.

Dispose ( ) : void

Aufräumen nachdem die Objekte verworfen werden können.

FloorTile ( object parent ) : System

Einfacher Konstruktor.

FloorTile ( object parent, Backend coords = null, bool canEnter = true ) : System

Dieser Konstruktor fürgt dem overlay ein WallTile hinzu, falls die Stelle als unpassierbar markiert ist

Remove ( Tile tile ) : void

Löscht den angegebenen Tile aus dem overlay.

Remove ( TileType type ) : void

Lösche alle Tiles des angegebenen Types aus dem overlay

Save ( XmlWriter xmlw ) : void

Method to save the FloorTile and every tile in it's overlay in a XML-file

Update ( GameTime gameTime ) : void

Update der interaktiven Tiles.

메소드 상세

Add() 공개 메소드

Fügt den angegebenen Tile zu dem overlay hinzu.
public Add ( Tile tile, bool update = false ) : void
tile Tile Das Tile das hinzugefügt wird.
update bool
리턴 void

Dispose() 공개 메소드

Aufräumen nachdem die Objekte verworfen werden können.
public Dispose ( ) : void
리턴 void

FloorTile() 공개 메소드

Einfacher Konstruktor.
public FloorTile ( object parent ) : System
parent object Elternobjekt.
리턴 System

FloorTile() 공개 메소드

Dieser Konstruktor fürgt dem overlay ein WallTile hinzu, falls die Stelle als unpassierbar markiert ist
public FloorTile ( object parent, Backend coords = null, bool canEnter = true ) : System
parent object Elternobjekt.
coords Backend Koordinaten.
canEnter bool Passierbarkeit.
리턴 System

Remove() 공개 메소드

Löscht den angegebenen Tile aus dem overlay.
public Remove ( Tile tile ) : void
tile Tile
리턴 void

Remove() 공개 메소드

Lösche alle Tiles des angegebenen Types aus dem overlay
public Remove ( TileType type ) : void
type TileType Der Typ der Tiles die gelöscht werden sollen.
리턴 void

Save() 공개 메소드

Method to save the FloorTile and every tile in it's overlay in a XML-file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter XMLwriter
리턴 void

Update() 공개 메소드

Update der interaktiven Tiles.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Hilfsobjekt.
리턴 void

프로퍼티 상세

_coords 보호되어 있는 프로퍼티

protected Backend.Coords _coords
리턴 Backend.Coords

_overlay 보호되어 있는 프로퍼티

protected List _overlay
리턴 List