25 #include "../ObjFac1/ObjFac1Res.h" 26 #include "../ObjFacTools/FreeElementBase.h" 27 #include "../Model/PhysicalCollision.h" 63 BOOL pValidDirection,
MR_Angle pHorizontalDirection,
std::vector< ContactEffect * > ContactEffectList
Definition: ContactEffect.h:56
Model::ContactEffectList mContactEffectList
Definition: TestElement.h:83
Definition: TestElement.h:39
const Model::ShapeInterface * GetGivingContactEffectShape() override
Get the shape that gives an effect when touching while moving.
Definition: TestElement.cpp:186
const Model::ShapeInterface * GetReceivingContactEffectShape() override
Get the shape that gives an effect when touched by a moving element.
Definition: TestElement.cpp:180
int Simulate(MR_SimulationTime pDuration, Model::Track &track, int pRoom) override
Advance the simulation.
Definition: TestElement.cpp:61
const Model::ContactEffectList * GetEffectList() override
Definition: TestElement.cpp:170
int mYSpeed
Definition: TestElement.h:77
MR_SimulationTime mElapsedFrameTime
Definition: TestElement.h:73
MR_Int32 mRay
Definition: TestElement.h:41
Used to test and build new FreeElements.
Definition: TestElement.h:35
MR_Int32 ZMax() const override
Definition: TestElement.h:45
Definition: WorldCoordinates.h:75
Model::PhysicalCollision mContactEffect
Definition: TestElement.h:82
MR_Int16 MR_Angle
Definition: WorldCoordinates.h:96
MR_Int32 ZMin() const override
Definition: TestElement.h:44
MR_Int32 mZ
Definition: WorldCoordinates.h:86
MR_Int32 MR_SimulationTime
Definition: WorldCoordinates.h:106
const Model::ShapeInterface * GetObstacleShape() override
Get the shape that stops other elements' movement.
Definition: TestElement.cpp:135
~TestElement()
Definition: TestElement.h:53
MR_Int32 mX
Definition: WorldCoordinates.h:65
Cylinder mCollisionShape
Definition: TestElement.h:79
A track level.
Definition: Track.h:57
MR_Int32 mY
Definition: WorldCoordinates.h:66
int32_t MR_Int32
Definition: MR_Types.h:43
MR_Int32 AxisX() const override
Definition: TestElement.h:46
MR_Int32 RayLen() const override
Definition: TestElement.h:48
MR_Int32 AxisY() const override
Definition: TestElement.h:47
Base class for object created with a Dll Factory.
Definition: DllObjectFactory.h:86
int mXSpeed
Definition: TestElement.h:76
Definition: PhysicalCollision.h:58
Cylinder mContactShape
Definition: TestElement.h:80
TestElement(ObjFacTools::ResourceLib &resourceLib, int pActorRes)
Definition: TestElement.cpp:47
Definition: Announcement.h:24
MR_3DCoordinate mPosition
Definition: TestElement.h:42
void ApplyEffect(const Model::ContactEffect *pEffect, MR_SimulationTime pTime, MR_SimulationTime pDuration, BOOL pValidDirection, MR_Angle pHorizontalDirection, MR_Int32 pZMin, MR_Int32 pZMax, Model::Track &track) override
Definition: TestElement.cpp:142