public void Animate() {
        switch (doorstate) {
            case 0: // Do nothing
                break;
            case 1:
                room.SetMaterial(15, 5, 0);
                doorstate++;
                break;
            case 2:
                room.SetMaterial(15, 4, 0);
                doorstate++;
                break;
            case 3:
                break;
            case 4:
                room.SetMaterial(15, 4, 7);
                doorstate++;
                break;
            case 5:
                room.SetMaterial(15, 5, 7);
                doorstate = 0;
                break;
        }
    }