2014-08-18 19:22:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <DXAPI/Point3F.h>
|
|
|
|
|
#include <DXAPI/ShapeBase.h>
|
|
|
|
|
|
|
|
|
|
namespace DX
|
|
|
|
|
{
|
|
|
|
|
//! Class representing a player object in the game.
|
|
|
|
|
class Player : public ShapeBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
Player(unsigned int obj);
|
|
|
|
|
|
|
|
|
|
//! Object Name
|
|
|
|
|
const char *name;
|
|
|
|
|
//! Object ID
|
|
|
|
|
const unsigned int &id;
|
|
|
|
|
|
|
|
|
|
//! Player Object Jetting State (readonly, writing it doesn't do anything)
|
|
|
|
|
const bool &is_jetting;
|
|
|
|
|
//! Player Object Jumping State (readonly, writing it doesn't do anything)
|
|
|
|
|
const bool &is_jumping;
|
|
|
|
|
//! Player Object Using Toggable Pack
|
|
|
|
|
bool &is_using_toggledpack;
|
2014-09-02 06:13:03 +00:00
|
|
|
|
|
|
|
|
//! Player Velocity.
|
|
|
|
|
Point3F velocity;
|
2014-08-18 19:22:13 +00:00
|
|
|
};
|
|
|
|
|
} // End NameSpace DX
|