GameKit  0.0.1a
C++ gamedev tools
Public Member Functions | Private Attributes | List of all members
gk::MovementStack Class Reference

#include <MovementComponent.hpp>

Public Member Functions

template<typename... Args>
bool push (Args &&...args)
 
void pop ()
 
std::unique_ptr< Movement > & top ()
 
size_t size () const
 

Private Attributes

std::stack< std::unique_ptr< Movement > > m_movements
 

Detailed Description

Definition at line 25 of file MovementComponent.hpp.

Member Function Documentation

§ pop()

void gk::MovementStack::pop ( )
inline

Definition at line 37 of file MovementComponent.hpp.

§ push()

template<typename... Args>
bool gk::MovementStack::push ( Args &&...  args)
inline

Definition at line 28 of file MovementComponent.hpp.

§ size()

size_t gk::MovementStack::size ( ) const
inline

Definition at line 41 of file MovementComponent.hpp.

§ top()

std::unique_ptr<Movement>& gk::MovementStack::top ( )
inline

Definition at line 39 of file MovementComponent.hpp.

Member Data Documentation

§ m_movements

std::stack<std::unique_ptr<Movement> > gk::MovementStack::m_movements
private

Definition at line 44 of file MovementComponent.hpp.


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