Property | Type | Description | |
---|---|---|---|
EndTurnButton | GameObject | ||
Units | GameObject[] |
Method | Description | |
---|---|---|
CashChanged ( int id, int newValue ) : void | ||
CreateUnit ( int targetX, int targetY, string unitType, int ownerId ) : void | ||
EndTurn ( string name, int id ) : void | ||
GameLoaded ( ) : void | ||
GameWon ( int winner, int losers ) : void | ||
MoveToAttack ( int startX, int startY, int endX, int endY ) : void | ||
MoveToEmpty ( int startX, int startY, int endX, int endY ) : void | ||
MoveToMerge ( int startX, int startY, int endX, int endY ) : void | ||
OnDestroy ( ) : void | ||
OnEnable ( ) : void | ||
PlayerLeft ( int id, string name ) : void | ||
Send ( string message ) : void | ||
ServerDisconnected ( ) : void | ||
SetPlayers ( string names, int ids ) : void | ||
SplitUnit ( int startX, int startY, int endX, int endY, int amount ) : void |
public CashChanged ( int id, int newValue ) : void | ||
id | int | |
newValue | int | |
return | void |
public CreateUnit ( int targetX, int targetY, string unitType, int ownerId ) : void | ||
targetX | int | |
targetY | int | |
unitType | string | |
ownerId | int | |
return | void |
public EndTurn ( string name, int id ) : void | ||
name | string | |
id | int | |
return | void |
public GameWon ( int winner, int losers ) : void | ||
winner | int | |
losers | int | |
return | void |
public MoveToAttack ( int startX, int startY, int endX, int endY ) : void | ||
startX | int | |
startY | int | |
endX | int | |
endY | int | |
return | void |
public MoveToEmpty ( int startX, int startY, int endX, int endY ) : void | ||
startX | int | |
startY | int | |
endX | int | |
endY | int | |
return | void |
public MoveToMerge ( int startX, int startY, int endX, int endY ) : void | ||
startX | int | |
startY | int | |
endX | int | |
endY | int | |
return | void |
public PlayerLeft ( int id, string name ) : void | ||
id | int | |
name | string | |
return | void |
public SetPlayers ( string names, int ids ) : void | ||
names | string | |
ids | int | |
return | void |
public SplitUnit ( int startX, int startY, int endX, int endY, int amount ) : void | ||
startX | int | |
startY | int | |
endX | int | |
endY | int | |
amount | int | |
return | void |