[][src]Module crystal_engine::state

Contains the states that are used in GameState. These are in a seperate module so we don't pollute the base module documentation.



A fixed vec of light sources. This is limited to 100 entries because of a limitation in the way Crystal's shaders are implemented. Please open an issue if you need more light sources.


The state of the keyboard. This can be used to check which keys are pressed during the current frame.


The state of the lights in the game. Lights come in two flavors.