NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Namespaces | Functions
PhysicsModuleComponents.cpp File Reference

Provides the class declaration for the physics engine. More...

#include "PhysicsModule.h"
#include "../sharedbase/Entity.h"
#include "../sharedbase/ComponentInterface.h"
#include "../sharedbase/Envelope.h"
#include "Components.h"
#include "component/ComponentLinearVelocity.h"
#include "component/ASTARMap.h"
#include "component/collider/ColliderSphere.h"
#include "component/GridMover.h"
Include dependency graph for PhysicsModuleComponents.cpp:

Go to the source code of this file.

Namespaces

namespace  Physics
 Namespace to contain every item that is related to the physics engine.

Functions

template<typename T >
void Physics::getAttribute (const std::string type, std::map< std::string, boost::any > &attributes, const std::string key, boost::function< bool(T)> setter)
 For standard, single-parameter setters, provides a quick and easy way to reduce an immense number of lines of code in CreateComponent by centralizing all common operations.
template<typename T >
std::pair< bool, T > Physics::getAttributeAlt (const std::string type, std::map< std::string, boost::any > &attributes, const std::string key)
 For non-standard setters, provides a relatively quick and easy way to reduce an immense number of lines of code in CreateComponent by centralizing all common operations.

Detailed Description

Provides the class declaration for the physics engine.

Author:
Ricky Curtice
Date:
20120127

Definition in file PhysicsModuleComponents.cpp.