예제 #1
0
        public MTile GetPushTile(MTile target)
        {
            var logic = new HexTileLogic();
            var tile  = logic.GetPushTile(this, target);

            if (tile != null && tile.GetCurrentOccupant() == null)
            {
                return(tile as MTile);
            }
            else
            {
                return(null);
            }
        }