mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-01-20 18:44:45 +00:00
30 lines
640 B
C++
30 lines
640 B
C++
#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;
|
|
|
|
//! Player Velocity.
|
|
Point3F velocity;
|
|
};
|
|
} // End NameSpace DX
|