![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
#include <CollisionShape2D.hpp>
Public Member Functions | |
| virtual | ~CollisionShape2D () override=0 |
| Virtual destructor. More... | |
Public Member Functions inherited from jop::Resource | |
| Resource (const std::string &name) | |
| Constructor. More... | |
| virtual | ~Resource ()=0 |
| Virtual destructor. More... | |
| const std::string & | getName () const |
| Get the name of this resource. More... | |
| void | setPersistence (const unsigned short level) |
| Set the persistence level. More... | |
| unsigned short | getPersistence () const |
| Get the persistence level. More... | |
Public Member Functions inherited from jop::SafeReferenceable< Resource > | |
| WeakReference< Resource > | getReference () const |
| Get a weak reference to the bound object. More... | |
Public Member Functions inherited from jop::SerializeInfo | |
| SerializeInfo () | |
| void | setSerializePackage (const uint16 package) |
| uint16 | getSerializePackage () const |
| void | setShouldSerialize (const bool set) |
| bool | shouldSerialize () const |
| void | setLightSerializeable (const bool set) |
| bool | isLightSerializeable () const |
Protected Member Functions | |
| CollisionShape2D (const std::string &name) | |
| Constructor. More... | |
Protected Member Functions inherited from jop::Resource | |
| Resource (const Resource &other, const std::string &newName) | |
| Copy constructor. More... | |
Protected Member Functions inherited from jop::SafeReferenceable< Resource > | |
| SafeReferenceable (Resource *ref) | |
| Constructor. More... | |
| SafeReferenceable (SafeReferenceable< Resource > &&other) | |
| Move constructor. More... | |
| SafeReferenceable & | operator= (SafeReferenceable< Resource > &&other) |
| Move assignment operator. More... | |
| ~SafeReferenceable () | |
| Protected destructor. More... | |
Protected Attributes | |
| std::unique_ptr< b2Shape > | m_shape |
| Shape data. More... | |
| bool | m_isCompound |
Friends | |
| class | RigidBody2D |
| class | CompoundShape2D |
Definition at line 37 of file CollisionShape2D.hpp.
|
protected |
Constructor.
| name | Name of the resource |
|
overridepure virtual |
Virtual destructor.
|
friend |
Definition at line 44 of file CollisionShape2D.hpp.
|
friend |
Definition at line 43 of file CollisionShape2D.hpp.
|
protected |
Definition at line 63 of file CollisionShape2D.hpp.
|
protected |
Shape data.
Definition at line 62 of file CollisionShape2D.hpp.
1.8.11