40 #ifndef _fieldofforce_h
41 #define _fieldofforce_h
43 #include "areaeffect.h"
101 virtual void ApplyEffect();
108 virtual void SetFieldStrength(
const Real FieldStrength);
111 virtual Real GetFieldStrength()
const;
114 virtual void SetDirectionOfForce(
const Vector3& ForceDirection);
117 virtual Vector3 GetDirectionOfForce()
const;
132 virtual void SetAttenuationAmount(
const Real Amount);
135 virtual Real GetAttenuationAmount()
const;
138 virtual void SetAttenuationSource(
const Vector3& Source);
141 virtual Vector3 GetAttenuationSource()
const;
147 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
149 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
152 virtual String GetDerivedSerializableName()
const;
154 static String GetSerializableName();
170 virtual String GetTypeName()
const;
191 virtual void DestroyAreaEffect(
AreaEffect* ToBeDestroyed);
This is the base class for all collision shapes.
Real Strength
The amount of force exerted on other objects.
Mezzanine::AttenuationStyle AttenStyle
How gravity weakens over distance, if at all.
float Real
A Datatype used to represent a real floating point number.
This class is used to define area's in the world that have unique effects.
This is field that applies force in a direction, and doesn't tamper with gravity. ...
A light-weight handle for manipulating nodes in DOM tree.
A base factory type for the creation of AreaEffect objects.
This is used to represent a point in space, or a vector through space.
Vector3 Direction
The direction the force is applied.
WorldObjectType
Used by various classes to help identify what class an object is.
The bulk of the engine components go in this namspace.
This class represents a world for objects to interact within.
Vector3 AttenSource
The user defined source if enabled.
std::map< String, String > NameValuePairMap
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
std::string String
A datatype used to a series of characters.
Real AttenAmount
How much the Gravity weakens over distance.
AttenuationStyle
These values represent the kind of attenuation applied to the field strength over a distance...
A factory type for the creation of FieldOfForce objects.