i6engine  1.0
i6e::api::physics::Physics_Accelerate_Update Struct Reference

message for acceleration of VelocityComponent More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/PhysicsConfig.h>

Public Member Functions

 Physics_Accelerate_Update (const int64_t coid, const int64_t goid, const Vec3 &a, VelocityComponent::MaxSpeedHandling h, const std::function< void(void)> &cb)
 
Physics_Accelerate_Updatecopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

Vec3 acceleration
 
VelocityComponent::MaxSpeedHandling handling
 
std::function< void(void)> callback
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

message for acceleration of VelocityComponent

Definition at line 303 of file PhysicsConfig.h.

Constructor & Destructor Documentation

i6e::api::physics::Physics_Accelerate_Update::Physics_Accelerate_Update ( const int64_t  coid,
const int64_t  goid,
const Vec3 a,
VelocityComponent::MaxSpeedHandling  h,
const std::function< void(void)> &  cb 
)
inline

Definition at line 307 of file PhysicsConfig.h.

Member Function Documentation

Physics_Accelerate_Update* i6e::api::physics::Physics_Accelerate_Update::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 309 of file PhysicsConfig.h.

Member Data Documentation

Vec3 i6e::api::physics::Physics_Accelerate_Update::acceleration

Definition at line 304 of file PhysicsConfig.h.

std::function<void(void)> i6e::api::physics::Physics_Accelerate_Update::callback

Definition at line 306 of file PhysicsConfig.h.

VelocityComponent::MaxSpeedHandling i6e::api::physics::Physics_Accelerate_Update::handling

Definition at line 305 of file PhysicsConfig.h.


The documentation for this struct was generated from the following file: