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

message for deceleration of VelocityComponent More...

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

Public Member Functions

 Physics_Decelerate_Update (const int64_t coid, const int64_t goid, const Vec3 &d, VelocityComponent::DecelerationHandling h, const std::function< void(void)> &cb)
 
Physics_Decelerate_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 deceleration
 
VelocityComponent::DecelerationHandling 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 deceleration of VelocityComponent

Definition at line 317 of file PhysicsConfig.h.

Constructor & Destructor Documentation

i6e::api::physics::Physics_Decelerate_Update::Physics_Decelerate_Update ( const int64_t  coid,
const int64_t  goid,
const Vec3 d,
VelocityComponent::DecelerationHandling  h,
const std::function< void(void)> &  cb 
)
inline

Definition at line 321 of file PhysicsConfig.h.

Member Function Documentation

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

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 323 of file PhysicsConfig.h.

Member Data Documentation

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

Definition at line 320 of file PhysicsConfig.h.

Vec3 i6e::api::physics::Physics_Decelerate_Update::deceleration

Definition at line 318 of file PhysicsConfig.h.

VelocityComponent::DecelerationHandling i6e::api::physics::Physics_Decelerate_Update::handling

Definition at line 319 of file PhysicsConfig.h.


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