40 #ifndef _gravitywell_h
41 #define _gravitywell_h
43 #include "areaeffect.h"
91 virtual void ApplyEffect();
100 virtual void SetFieldStrength(
const Real FieldStrength);
103 virtual Real GetFieldStrength()
const;
108 virtual void SetAllowWorldGravity(
Boole WorldGravity);
111 virtual Boole GetAllowWorldGravity()
const;
125 virtual void SetAttenuationAmount(
const Real Amount);
128 virtual Real GetAttenuationAmount()
const;
134 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
136 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
139 virtual String GetDerivedSerializableName()
const;
141 static String GetSerializableName();
157 virtual String GetTypeName()
const;
178 virtual void DestroyAreaEffect(
AreaEffect* ToBeDestroyed);
This is the base class for all collision shapes.
bool Boole
Generally acts a single bit, true or false.
A factory type for the creation of GravityWell objects.
Real AttenAmount
how much does the Gravity attenuate.
This is a gravity well implementation of the AreaEffect class.
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.
Boole AllowWorldGrav
Should world gravity ne ignored.
A light-weight handle for manipulating nodes in DOM tree.
A base factory type for the creation of AreaEffect objects.
Mezzanine::AttenuationStyle AttenStyle
How does gravity.
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.
std::map< String, String > NameValuePairMap
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
Real Strength
The amount of force exerted on other objects.
std::string String
A datatype used to a series of characters.
AttenuationStyle
These values represent the kind of attenuation applied to the field strength over a distance...