C# Class Gruppe22.Client.WallTiles

Inheritance: TileSet
Afficher le fichier Open project: propra13-orga/gruppe22 Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string filename, WallDir direction, Rectangle cutOut, Backend offset = null, Backend crop = null, Backend subtype = Backend.WallType.Normal ) : void

Add a new wall

Load ( string filename = "bla.xml" ) : void

Load (cannot use serializer at this level!)

ReadXml ( System reader ) : void

Load object from XML-file

Save ( string filename = "bla.xml" ) : void

Save (merely a shortcut to the serializer

WallTiles ( ) : System
WallTiles ( Microsoft.Xna.Framework.Content.ContentManager content, int width, int height, string fileName = "" ) : System
WriteXml ( System writer ) : void

Dump object to XML-file

Method Details

Add() public méthode

Add a new wall
public Add ( string filename, WallDir direction, Rectangle cutOut, Backend offset = null, Backend crop = null, Backend subtype = Backend.WallType.Normal ) : void
filename string
direction WallDir
cutOut Microsoft.Xna.Framework.Rectangle
offset Backend
crop Backend
subtype Backend
Résultat void

Load() public méthode

Load (cannot use serializer at this level!)
public Load ( string filename = "bla.xml" ) : void
filename string
Résultat void

ReadXml() public méthode

Load object from XML-file
public ReadXml ( System reader ) : void
reader System Load object from XML-stream
Résultat void

Save() public méthode

Save (merely a shortcut to the serializer
public Save ( string filename = "bla.xml" ) : void
filename string
Résultat void

WallTiles() public méthode

public WallTiles ( ) : System
Résultat System

WallTiles() public méthode

public WallTiles ( Microsoft.Xna.Framework.Content.ContentManager content, int width, int height, string fileName = "" ) : System
content Microsoft.Xna.Framework.Content.ContentManager
width int
height int
fileName string
Résultat System

WriteXml() public méthode

Dump object to XML-file
public WriteXml ( System writer ) : void
writer System Write object to XML-stream
Résultat void