C# Класс MCDawn.Commands.GameControl.GameControl

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
availableGames string[]
nullParameters string[]

Открытые методы

Метод Описание
Add ( Game g ) : void

Add game to List enabledGames.

Delete ( Level l ) : void

Dispose and delete game out of List enabledGames.

FindGame ( Level level ) : Game

Return game of selected level, or null, if game isn't enabled.

GetGame ( string gameName, Level l ) : Game

Return game with the name of gameName.

IsEnabled ( Level l ) : bool

Return true, if any game enabled on level l, false otherwise.

Описание методов

Add() публичный статический Метод

Add game to List enabledGames.
public static Add ( Game g ) : void
g Game
Результат void

Delete() публичный статический Метод

Dispose and delete game out of List enabledGames.
public static Delete ( Level l ) : void
l Level
Результат void

FindGame() публичный статический Метод

Return game of selected level, or null, if game isn't enabled.
public static FindGame ( Level level ) : Game
level Level
Результат Game

GetGame() публичный статический Метод

Return game with the name of gameName.
public static GetGame ( string gameName, Level l ) : Game
gameName string
l Level
Результат Game

IsEnabled() публичный статический Метод

Return true, if any game enabled on level l, false otherwise.
public static IsEnabled ( Level l ) : bool
l Level
Результат bool

Описание свойств

availableGames публичное статическое свойство

public static string[] availableGames
Результат string[]

nullParameters публичное статическое свойство

public static string[] nullParameters
Результат string[]