2014-08-18 19:22:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
2014-09-02 06:13:03 +00:00
|
|
|
#include <DXAPI/Point3F.h>
|
2014-08-18 19:22:13 +00:00
|
|
|
#include <DXAPI/GameBase.h>
|
|
|
|
|
|
2014-09-02 06:13:03 +00:00
|
|
|
#include <LinkerAPI.h>
|
|
|
|
|
|
2014-08-18 19:22:13 +00:00
|
|
|
namespace DX
|
|
|
|
|
{
|
|
|
|
|
class Projectile : public GameBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
Projectile(unsigned int obj);
|
|
|
|
|
|
2014-09-02 06:13:03 +00:00
|
|
|
void explode(const Linker::Point3F &position, const Linker::Point3F &normal, const unsigned int collideType);
|
|
|
|
|
|
2014-08-18 19:22:13 +00:00
|
|
|
//! Velocity. It is constant because modifying it directly breaks the sim.
|
|
|
|
|
const Point3F velocity;
|
|
|
|
|
|
|
|
|
|
bool &hidden;
|
|
|
|
|
};
|
|
|
|
|
} // End NameSpace DX
|