C# Class Gruppe22.Client.WallTiles

Inheritance: TileSet
Show file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method 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 method

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
return void

Load() public method

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

ReadXml() public method

Load object from XML-file
public ReadXml ( System reader ) : void
reader System Load object from XML-stream
return void

Save() public method

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

WallTiles() public method

public WallTiles ( ) : System
return System

WallTiles() public method

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
return System

WriteXml() public method

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