NasNas
An intuitive and beginner friendly 2D game framework for C++
ns::StateStackApp Member List

This is the complete list of members for ns::StateStackApp, including all inherited members.

addDebugText(const std::string &label, const sf::Vector2f &position, const sf::Color &color=ns::DebugTextInterface::color)ns::Appprotected
addDebugText(const std::string &label, T *var_address, const sf::Vector2f &position, const sf::Color &color=ns::DebugTextInterface::color)ns::Appprotected
addDebugText(const std::string &label, std::function< T()> fn, const sf::Vector2f &position, const sf::Color &color=ns::DebugTextInterface::color)ns::Appprotected
allCameras() -> std::list< Camera > &ns::App
allScenes() -> std::list< Scene > &ns::App
App()ns::App
App(std::string title, sf::Vector2u resolution, float scale=1.f, int fps=Settings::user_config.frame_rate, int ups=Settings::user_config.update_rate)ns::App
awake()ns::Appprotected
clearShader()ns::ShaderHolder
createCamera(const std::string &name, int order, const ns::IntRect &view={{0, 0}, sf::Vector2i(Settings::user_config.resolution)}, const ns::FloatRect &viewport={0, 0, 1.f, 1.f}) -> Camera &ns::Appprotected
createCamera(const std::string &name, int order, const ns::FloatRect &viewport) -> Camera &ns::Appprotected
createScene(const std::string &name) -> Scene &ns::Appprotected
getCamera(const std::string &name) -> Camera &ns::App
getDt() const -> float (defined in ns::App)ns::App
getMousePosition() const -> sf::Vector2f (defined in ns::App)ns::App
getMousePosition(Camera &cam) const -> sf::Vector2f (defined in ns::App)ns::App
getScene(const std::string &name) -> Scene &ns::App
getShader() const -> sf::Shader *ns::ShaderHolder
getTitle() const -> const std::string &ns::App
getTouchPosition(int finger) const -> sf::Vector2f (defined in ns::App)ns::App
getTouchPosition(int finger, Camera &cam) const -> sf::Vector2f (defined in ns::App)ns::App
getWindow() -> AppWindow &ns::App
onEvent(const sf::Event &event) overridens::Appprotectedvirtual
popState() (defined in ns::StateStackApp)ns::StateStackAppinline
preRender() (defined in ns::AppStateInterface)ns::AppStateInterfaceinlinevirtual
pushState(Targs... args) (defined in ns::StateStackApp)ns::StateStackAppinline
run()ns::App
setShader(sf::Shader *shader)ns::ShaderHolder
sleep()ns::Appprotected
toggleFullscreen()ns::App
toggleShader()ns::ShaderHolder
update()ns::StateStackAppinlinevirtual
~App()ns::Appvirtual