mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-13 23:26:20 +00:00
Projectile/Weapon imps, nearly match CProjectileWeapon
This commit is contained in:
17
include/Weapons/IWeaponProjectile.hpp
Normal file
17
include/Weapons/IWeaponProjectile.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _IWEAPONPROJECTILE_HPP
|
||||
#define _IWEAPONPROJECTILE_HPP
|
||||
|
||||
class CVector3f;
|
||||
class CTransform4f;
|
||||
class IWeaponProjectile {
|
||||
public:
|
||||
virtual ~IWeaponProjectile() {};
|
||||
|
||||
virtual bool Update(float dt) = 0;
|
||||
virtual void AddToRenderer() const = 0;
|
||||
virtual void Render() const = 0;
|
||||
virtual const CVector3f GetTranslation() const = 0;
|
||||
virtual const CTransform4f GetTransform() const = 0;
|
||||
};
|
||||
|
||||
#endif // _IWEAPONPROJECTILE_HPP
|
||||
Reference in New Issue
Block a user