C# 클래스 Gruppe22.Client.WallTiles

상속: TileSet
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 메소드

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
리턴 void

Load() 공개 메소드

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

ReadXml() 공개 메소드

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

Save() 공개 메소드

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

WallTiles() 공개 메소드

public WallTiles ( ) : System
리턴 System

WallTiles() 공개 메소드

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
리턴 System

WriteXml() 공개 메소드

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