Свойство | Тип | Описание | |
---|---|---|---|
army | HashSet |
||
color | Color | ||
id | int | ||
playerIDs | int | ||
startingPlanet |
Метод | Описание | |
---|---|---|
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
Player ( |
||
getMetal ( ) : int | ||
getName ( ) : String | ||
giveMetal ( int x ) : void | ||
payMetal ( int cost ) : System.Boolean |
public Player ( |
||
start | ||
n | String | |
Результат | System |
public payMetal ( int cost ) : System.Boolean | ||
cost | int | |
Результат | System.Boolean |