C# Class PrinceGame.Level

Show file Open project: salvadorc17/Prince-Monogame Class Usage Examples

Public Properties

Property Type Description
levelIndex int
levelName string
rows RoomRow[]
startroom int

Public Methods

Method Description
DownRoom ( List rooms, Room current, Level level ) : Room
LeftRoom ( List rooms, Room current, Level level ) : Room
Level ( ) : System
Level ( int sizeRow, int sizeColumn ) : System
RightRoom ( List rooms, Room current, Level level ) : Room
SelectRoom ( List rooms, int id ) : Room
Serialize ( ) : void
StartRoom ( List rooms, Room current ) : Room
UpRoom ( List rooms, Room current, Level level ) : Room

Method Details

DownRoom() public method

public DownRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
return PrinceEditor.Room

LeftRoom() public method

public LeftRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
return PrinceEditor.Room

Level() public method

public Level ( ) : System
return System

Level() public method

public Level ( int sizeRow, int sizeColumn ) : System
sizeRow int
sizeColumn int
return System

RightRoom() public method

public RightRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
return PrinceEditor.Room

SelectRoom() public method

public SelectRoom ( List rooms, int id ) : Room
rooms List
id int
return PrinceEditor.Room

Serialize() public method

public Serialize ( ) : void
return void

StartRoom() public method

public StartRoom ( List rooms, Room current ) : Room
rooms List
current PrinceEditor.Room
return PrinceEditor.Room

UpRoom() public method

public UpRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
return PrinceEditor.Room

Property Details

levelIndex public property

public int levelIndex
return int

levelName public property

public string levelName
return string

rows public property

public RoomRow[] rows
return RoomRow[]

startroom public property

public int startroom
return int