MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / GetSpritesFrame

Method GetSpritesFrame

PanzerChasm/client/map_state.cpp:159–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159float MapState::GetSpritesFrame() const
160{
161 return ( last_tick_time_ - map_start_time_ ).ToSeconds() * GameConstants::sprites_animations_frames_per_second;
162}
163
164void MapState::Tick( const Time current_time )
165{

Callers 3

DrawMethod · 0.80
DrawBMPObjectsSpritesMethod · 0.80
DrawBMPObjectsSpritesMethod · 0.80

Calls 1

ToSecondsMethod · 0.80

Tested by

no test coverage detected