C# Class PrinceGame.Level

Afficher le fichier Open project: salvadorc17/Prince-Monogame Class Usage Examples

Méthodes publiques

Свойство Type Description
levelIndex int
levelName string
rows RoomRow[]
startroom int

Méthodes publiques

Méthode 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 méthode

public DownRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
Résultat PrinceEditor.Room

LeftRoom() public méthode

public LeftRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
Résultat PrinceEditor.Room

Level() public méthode

public Level ( ) : System
Résultat System

Level() public méthode

public Level ( int sizeRow, int sizeColumn ) : System
sizeRow int
sizeColumn int
Résultat System

RightRoom() public méthode

public RightRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
Résultat PrinceEditor.Room

SelectRoom() public méthode

public SelectRoom ( List rooms, int id ) : Room
rooms List
id int
Résultat PrinceEditor.Room

Serialize() public méthode

public Serialize ( ) : void
Résultat void

StartRoom() public méthode

public StartRoom ( List rooms, Room current ) : Room
rooms List
current PrinceEditor.Room
Résultat PrinceEditor.Room

UpRoom() public méthode

public UpRoom ( List rooms, Room current, Level level ) : Room
rooms List
current PrinceEditor.Room
level Level
Résultat PrinceEditor.Room

Property Details

levelIndex public_oe property

public int levelIndex
Résultat int

levelName public_oe property

public string levelName
Résultat string

rows public_oe property

public RoomRow[] rows
Résultat RoomRow[]

startroom public_oe property

public int startroom
Résultat int