def handle_input(self, entity, action, value):
     if action == 'welcome' and value == 1:
         engine.get_engine().change_mode('welcome')
     elif action == 'main' and value == 1:
         engine.get_engine().change_mode('main')
    def handle_update(self, entity, dt):
        entity.angle = (entity.angle + entity.va*dt) % 360

        engine.get_engine().entity_manager.update_position(entity)