Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Static Public Attributes
IntroCutscene Class Reference

#include <introcutscene.hpp>

Public Member Functions

 IntroCutscene ()
 
bool update ()
 
LoadIntroCutsceneEvent toNetwork ()
 

Data Fields

int ticks
 
ServerGameState state
 
EntityID pov_eid
 
EntityID dm_eid
 
std::array< boost::optional< SharedObject >, MAX_POINT_LIGHTSlights
 

Static Public Attributes

static const int START_TICK = 1
 
static const int STOP_MOVING_TICK = START_TICK + 250
 
static const int GATE_RAISE_TICK = STOP_MOVING_TICK + 30
 
static const int GATE_STOP_RAISE_TICK = GATE_RAISE_TICK + 200
 
static const int LIGHTNING_1_TICK = GATE_STOP_RAISE_TICK + 80
 
static const int LIGHTNING_2_TICK = LIGHTNING_1_TICK + 50
 
static const int LIGHTNING_3_TICK = LIGHTNING_2_TICK + 40
 
static const int START_PLAYER_THEME_TICK = LIGHTNING_3_TICK + 110
 
static const int EXIT_CUTSCENE_TICK = START_PLAYER_THEME_TICK + 240
 

Constructor & Destructor Documentation

◆ IntroCutscene()

IntroCutscene::IntroCutscene ( )

Member Function Documentation

◆ toNetwork()

LoadIntroCutsceneEvent IntroCutscene::toNetwork ( )

◆ update()

bool IntroCutscene::update ( )

update to the next frame of the cutscene

Returns
true if the cutscene is over

Field Documentation

◆ dm_eid

EntityID IntroCutscene::dm_eid

◆ EXIT_CUTSCENE_TICK

const int IntroCutscene::EXIT_CUTSCENE_TICK = START_PLAYER_THEME_TICK + 240
inlinestatic

◆ GATE_RAISE_TICK

const int IntroCutscene::GATE_RAISE_TICK = STOP_MOVING_TICK + 30
inlinestatic

◆ GATE_STOP_RAISE_TICK

const int IntroCutscene::GATE_STOP_RAISE_TICK = GATE_RAISE_TICK + 200
inlinestatic

◆ LIGHTNING_1_TICK

const int IntroCutscene::LIGHTNING_1_TICK = GATE_STOP_RAISE_TICK + 80
inlinestatic

◆ LIGHTNING_2_TICK

const int IntroCutscene::LIGHTNING_2_TICK = LIGHTNING_1_TICK + 50
inlinestatic

◆ LIGHTNING_3_TICK

const int IntroCutscene::LIGHTNING_3_TICK = LIGHTNING_2_TICK + 40
inlinestatic

◆ lights

std::array<boost::optional<SharedObject>, MAX_POINT_LIGHTS> IntroCutscene::lights

◆ pov_eid

EntityID IntroCutscene::pov_eid

◆ START_PLAYER_THEME_TICK

const int IntroCutscene::START_PLAYER_THEME_TICK = LIGHTNING_3_TICK + 110
inlinestatic

◆ START_TICK

const int IntroCutscene::START_TICK = 1
inlinestatic

◆ state

ServerGameState IntroCutscene::state

◆ STOP_MOVING_TICK

const int IntroCutscene::STOP_MOVING_TICK = START_TICK + 250
inlinestatic

◆ ticks

int IntroCutscene::ticks

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