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

Method Rocket

PanzerChasm/server/map.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Map::Rocket::Rocket(
46 const EntityId in_rocket_id,
47 const EntityId in_owner_id,
48 const unsigned char in_rocket_type_id,
49 const m_Vec3& in_start_point,
50 const m_Vec3& in_normalized_direction,
51 const Time in_start_time )
52 : start_time( in_start_time )
53 , start_point( in_start_point )
54 , normalized_direction( in_normalized_direction )
55 , rocket_id( in_rocket_id )
56 , owner_id( in_owner_id )
57 , rocket_type_id( in_rocket_type_id )
58 , previous_position( in_start_point )
59 , track_length( 0.0f )
60{}
61
62bool Map::Rocket::HasInfiniteSpeed( const GameResources& game_resources ) const
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected