OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TurnBasedOverlay Class Reference

#include <TurnBasedOverlay.h>

Public Member Functions

constexpr TurnBasedOverlay ()=default
 
void loadIcons ()
 
void reset ()
 
void update (Duration dt, TurnEngineStep newStep)
 
void draw ()
 

Private Member Functions

GraphicsImagecurrentIcon () const
 

Private Attributes

TurnBasedOverlayState _state = TURN_BASED_OVERLAY_NONE
 
Duration _currentTime
 
int _initialIconId = 0
 
Duration _initialAnimationLength
 
int _attackIconId = 0
 
std::array< int, 5 > _movementIconIds = {{}}
 
int _waitIconId = 0
 

Constructor & Destructor Documentation

◆ TurnBasedOverlay()

constexpr TurnBasedOverlay::TurnBasedOverlay ( )
constexprdefault

Member Function Documentation

◆ currentIcon()

GraphicsImage * TurnBasedOverlay::currentIcon ( ) const
private

◆ draw()

void TurnBasedOverlay::draw ( )
Original binary offset:
0x00441964

◆ loadIcons()

void TurnBasedOverlay::loadIcons ( )

◆ reset()

void TurnBasedOverlay::reset ( )

◆ update()

void TurnBasedOverlay::update ( Duration  dt,
TurnEngineStep  newStep 
)

Member Data Documentation

◆ _attackIconId

int TurnBasedOverlay::_attackIconId = 0
private

◆ _currentTime

Duration TurnBasedOverlay::_currentTime
private

◆ _initialAnimationLength

Duration TurnBasedOverlay::_initialAnimationLength
private

◆ _initialIconId

int TurnBasedOverlay::_initialIconId = 0
private

◆ _movementIconIds

std::array<int, 5> TurnBasedOverlay::_movementIconIds = {{}}
private

◆ _state

TurnBasedOverlayState TurnBasedOverlay::_state = TURN_BASED_OVERLAY_NONE
private

◆ _waitIconId

int TurnBasedOverlay::_waitIconId = 0
private

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