NasNas
An intuitive and beginner friendly 2D game framework for C++
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ns::Transition Class Referenceabstract
Inheritance diagram for ns::Transition:
ns::transition::CircleClose ns::transition::CircleOpen

Public Member Functions

void start ()
 
void end ()
 
auto hasStarted () const -> bool
 
auto hasEnded () const -> bool
 
void addShape (const sf::Shape &shape)
 
void setOnEndCallback (const std::function< void()> &fn)
 
void update ()
 

Static Public Attributes

static std::vector< Transition * > list
 

Protected Member Functions

virtual void onUpdate ()=0
 

Detailed Description

Definition at line 18 of file Transition.hpp.


The documentation for this class was generated from the following file: