예제 #1
0
	public static void HandleArrive(BaseUnit unit, BaseTile sourceTile, BaseTile destinationTile) {
		if (sourceTile != null)
			sourceTile.Leave(unit, destinationTile);
		if (destinationTile != null)
			destinationTile.Arrive(unit, sourceTile);
	}