public static ControllerType getControllerType(EntityType type) {
        switch (type) {

            case OBJ_TREE:
                return ControllerType.TREE_CONTROLLER;
            case OBJ_DOOR_WOOD:
                return ControllerType.DOOR_CONTROLLER;
            case ENTR_DUNGEON:
                return ControllerType.ENTRANCE_CONTROLLER;
        }
        return null;
    }