pymasep.application.sub_app_state ================================= .. py:module:: pymasep.application.sub_app_state Classes ------- .. autoapisummary:: pymasep.application.sub_app_state.SubAppState Module Contents --------------- .. py:class:: SubAppState(sub_application) This class implements the concept (pretty much) of Game State but in the sub app level. :param pymasep.application.SubApp sub_application: the sub application where the state is defined .. py:attribute:: sub_application the sub application where the state is defined .. py:attribute:: active :value: False if the state is active or not .. py:method:: init() Initialisation of the state .. py:method:: update() :abstractmethod: the update phase of the state, where variables change .. py:method:: render(time_delta) :abstractmethod: the render part : how to display the state :param time_delta: the time delta since the last render .. py:method:: pause() Pause the state .. py:method:: clean() The state is destroyed. Clean all elements of the state