Example #1
0
    public void PutInRoom(TileBase room)
    {
        // Drop it
        Drop();

        // Unclaim it
        if (isClaimed)
        {
            Unclaim();
        }

        // Now we are clear to store it
        room.StoreResource(this);
        holder = room;
    }