eras44 / sparcraft

My own fork of SparCraft sources in Googlecode
0 stars 0 forks source link

Add Protoss shield support #2

Open nbarriga opened 10 years ago

nbarriga commented 10 years ago

Protoss currently just have their shields added to their HP. With proper shield support we could implement shield regeneration.

This change is probably easy, because it is mostly self contained within the Unit and UnitType classes. GameState will probably need to be aware of it too, so that before each round it can regenerate the shields of every unit.