Rockets deleted properly
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef Components_TankShell_h__
|
||||
#define Components_TankShell_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct TankShell : Component
|
||||
{
|
||||
TankShell()
|
||||
: Damage(1.0f){ }
|
||||
|
||||
float Damage;
|
||||
|
||||
virtual TankShell* Clone() const override { return new TankShell(*this); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Components_TankShell_h__
|
||||
Reference in New Issue
Block a user