Laser Squad [Day 9] – Cleanup and weapon / ammo items

Today I basically cleaned up the code from the last two days. Now it’s very easy to define simple and complex doors. I left some todo’s for the future that a door can be opened with a event in the game (by pushing a switch for example).

Also I extended the basic item to make a ammo item which is holding just one more parameter – firepower. The idea is that one weapon can be loaded with different ammo clips which have different firepower.

The packages in the project started to look a little bit messy, so time to clean up and reorganize.

* * * * *