C# 클래스 Gruppe22.Backend.DoorTile

This tile is used to seperate the different levels. A boss enemy in one level should have the key to the next level.
상속: WallTile
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
DoorTile ( object parent, bool locked = true, int key ) : System

Constructor. Gets the number of the key and if the door is locked

Save ( XmlWriter xmlw ) : void

Method to save the DoorTile in a .xml file

메소드 상세

DoorTile() 공개 메소드

Constructor. Gets the number of the key and if the door is locked
public DoorTile ( object parent, bool locked = true, int key ) : System
parent object parent.
locked bool Status of the door
key int int id of the key
리턴 System

Save() 공개 메소드

Method to save the DoorTile in a .xml file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter XmlWriter.
리턴 void