Add weapon acquisition and swapping systems with data handling
This commit is contained in:
@@ -34,7 +34,7 @@ public class WeaponSystem : ISystem
|
||||
if (!cost.CanAfford(context))
|
||||
{
|
||||
canFire = false;
|
||||
//TODO: Publish an event or notify the player they can't fire
|
||||
world.PublishEvent(new WeaponFireFailedEvent());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user