HoverRace
2.0
|
#include <FuelSource.h>
Public Member Functions | |
FuelSource () | |
~FuelSource () | |
![]() | |
FreeElement (const Util::ObjectFromFactoryId &id={0, 0}) | |
virtual | ~FreeElement () |
virtual bool | AssignPermNumber (int pNumber) |
Assign a permanent hook number. More... | |
virtual const ShapeInterface * | GetGivingContactEffectShape () |
Get the shape that gives an effect when touching while moving. More... | |
virtual ElementNetState | GetNetState () const |
virtual const ShapeInterface * | GetObstacleShape () |
Get the shape that stops other elements' movement. More... | |
virtual void | PlayExternalSounds (int pDB, int pPan) |
virtual void | PlayInternalSounds () |
virtual void | Render (VideoServices::Viewport3D *pDest, MR_SimulationTime pTime) |
virtual void | SetNetState (int pDataLen, const MR_UInt8 *pData) |
virtual void | SetOwnerId (int pOwnerId) |
virtual int | Simulate (MR_SimulationTime pTimeSlice, Track &track, int pRoom) |
Advance the simulation. More... | |
![]() | |
Element (const Util::ObjectFromFactoryId &id) | |
virtual | ~Element () |
virtual void | AddRenderer () |
virtual void | ApplyEffect (const ContactEffect *pEffect, MR_SimulationTime pTime, MR_SimulationTime pDuration, BOOL pValidDirection, MR_Angle pHorizontalDirection, MR_Int32 pZMin, MR_Int32 pZMax, Track &track) |
void | ApplyEffects (const ContactEffectList *pList, MR_SimulationTime pTime, MR_SimulationTime pDuration, BOOL pValidDirection, MR_Angle pHorizontalDirection, MR_Int32 pZMin, MR_Int32 pZMax, Track &track) |
void | Serialize (Parcel::ObjStream &) overridefinal |
![]() | |
ObjectFromFactory (const ObjectFromFactoryId &pId) noexcept | |
virtual | ~ObjectFromFactory () |
const ObjectFromFactoryId & | GetTypeId () const noexcept |
Protected Member Functions | |
MR_Int32 | AxisX () const override |
MR_Int32 | AxisY () const override |
const Model::ContactEffectList * | GetEffectList () override |
const Model::ShapeInterface * | GetReceivingContactEffectShape () override |
Get the shape that gives an effect when touched by a moving element. More... | |
MR_Int32 | RayLen () const override |
MR_Int32 | ZMax () const override |
MR_Int32 | ZMin () const override |
![]() | |
eShape | ShapeType () const override |
MR_Int32 | XMax () const override |
MR_Int32 | XMin () const override |
MR_Int32 | XPos () const override |
MR_Int32 | YMax () const override |
MR_Int32 | YMin () const override |
MR_Int32 | YPos () const override |
![]() | |
virtual | ~ShapeInterface () |
Private Types | |
using | SUPER = Model::FreeElement |
Private Attributes | |
Model::ContactEffectList | mContactEffectList |
Model::FuelGain | mFuelEffect |
Additional Inherited Members | |
![]() | |
template<class T > | |
static void | SerializeShared (Parcel::ObjStream &archive, typename std::enable_if< std::is_base_of< ObjectFromFactory, T >::value, std::shared_ptr< T >>::type &obj) |
Serialize a shared pointer to a serializable object. More... | |
![]() | |
MR_Angle | mOrientation |
MR_3DCoordinate | mPosition |
![]() | |
enum | eShape { eCylinder = 0, eLineSegment = 1, ePolygon = 2 } |
|
private |
HoverRace::ObjFac1::FuelSource::FuelSource | ( | ) |
|
inline |
|
overrideprotectedvirtual |
Implements HoverRace::Model::CylinderShape.
|
overrideprotectedvirtual |
Implements HoverRace::Model::CylinderShape.
|
inlineoverrideprotectedvirtual |
Reimplemented from HoverRace::Model::Element.
|
inlineoverrideprotectedvirtual |
Get the shape that gives an effect when touched by a moving element.
nullptr
if none. Reimplemented from HoverRace::Model::FreeElement.
|
overrideprotectedvirtual |
Implements HoverRace::Model::CylinderShape.
|
overrideprotectedvirtual |
Implements HoverRace::Model::ShapeInterface.
|
overrideprotectedvirtual |
Implements HoverRace::Model::ShapeInterface.
|
private |
|
private |