Example #1
0
    public void Move(int actionSlimeId, Vector2 tileVector)
    {
        RawSlime actionSlime = FindSlimeById(actionSlimeId);
        TileData toMove      = matrix.getTile((int)tileVector.x, (int)tileVector.y);

        actionSlime.SetTile(toMove);

        SpendActions(1);
    }