mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
destructible units
This commit is contained in:
@@ -13,6 +13,12 @@ namespace battleship{
|
||||
buildStatusForeground = createBar(Unit::lenHpBar, Vector4(0, 0, 1, 1));
|
||||
}
|
||||
|
||||
Structure::~Structure(){
|
||||
removeBar(buildStatusForeground);
|
||||
removeBar(buildStatusBackground);
|
||||
Unit::~Unit();
|
||||
}
|
||||
|
||||
void Structure::update(){
|
||||
Unit::update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user