mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-01-19 18:14:44 +00:00
22 lines
448 B
C++
22 lines
448 B
C++
#pragma once
|
|
|
|
#include <DXAPI/Point3F.h>
|
|
#include <DXAPI/GameBase.h>
|
|
|
|
#include <LinkerAPI.h>
|
|
|
|
namespace DX
|
|
{
|
|
class Projectile : public GameBase
|
|
{
|
|
public:
|
|
Projectile(unsigned int obj);
|
|
|
|
void explode(const Linker::Point3F &position, const Linker::Point3F &normal, const unsigned int collideType);
|
|
|
|
//! Velocity. It is constant because modifying it directly breaks the sim.
|
|
const Point3F velocity;
|
|
|
|
bool &hidden;
|
|
};
|
|
} // End NameSpace DX
|