C# Class SnakeBattleNet.Core.Fighter

Datei anzeigen Open project: FoC-/SnakeBattle.Net Class Usage Examples

Public Properties

Property Type Description
Head Directed
Tail Directed

Public Methods

Method Description
CutTail ( ) : void
Fighter ( string id, ICollection chips, Directed tail ) : System.Collections.Generic
Grow ( Direction direction, int length = 1 ) : void

Method Details

CutTail() public method

public CutTail ( ) : void
return void

Fighter() public method

public Fighter ( string id, ICollection chips, Directed tail ) : System.Collections.Generic
id string
chips ICollection
tail Directed
return System.Collections.Generic

Grow() public method

public Grow ( Direction direction, int length = 1 ) : void
direction Direction
length int
return void

Property Details

Head public_oe property

public Directed Head
return Directed

Tail public_oe property

public Directed Tail
return Directed