Method | Description | |
---|---|---|
GameManager ( Grid grid ) : System | ||
MergeTile ( |
||
Move ( Direction direction ) : bool | ||
Move ( |
||
UpdateGame ( bool isMoved ) : void |
Method | Description | |
---|---|---|
AddRandomTile ( int maxSize ) : void | ||
CreateTransversalOrder ( int axisDelta ) : IEnumerable |
||
GetFarthestPosition ( Point position, Point delta ) : Point | ||
GetNextValue ( int value ) : int | ||
IsTilesMergeable ( |
||
Reset ( ) : void | ||
getDirectionDelta ( Direction direction ) : Point |
public MergeTile ( |
||
movingTile | ||
mergedTile | ||
return | void |
public Move ( |
||
tile | ||
newPosition | Point | |
return | void |