C# Class SnakeBattleNet.Core.Prototypes.BattleField

Represents battle field where snakes are trying to eat each other.
Inheritance: IBattleField
Afficher le fichier Open project: FoC-/SnakeBattle.Net Class Usage Examples

Méthodes publiques

Méthode Description
AddSnakes ( IList snakes ) : void
BattleField ( ) : System

Private Methods

Méthode Description
GetTailOwner ( BattleSnake snake, MoveDirection moveDirection ) : BattleSnake
GetVisibleAreaFor ( BattleSnake snake ) : VisibleArea

Method Details

AddSnakes() public méthode

public AddSnakes ( IList snakes ) : void
snakes IList
Résultat void

BattleField() public méthode

public BattleField ( ) : System
Résultat System