示例#1
0
    public void AddHandToIns(int x, int y)
    {
        if (newOne == null)
        {
            return;
        }

        Coordinate pos = new Coordinate(x, y);

        if (WorldMapController.CanPlaceHand(pos, currentType))
        {
            newOne.SendMessage("SetInitPos", new Coordinate(x, y));
            Instructions.AddHand(pos, currentType, newOne);
            newOne = null;
        }
    }