8 Commits

Author SHA1 Message Date
Samuel
260a6c9941 - Updated Capture function and AbandonUnit function. 2015-08-14 12:57:47 -04:00
Samuel
c12f4497fd - Updated Unity Layers
- Refactoring rename Class TagManager to TagLayerManager
- Added Layer Property in class Unit.cs
- Updated method InitializeDefaultTagAndLayer in class ZombieSquad
	and VampireSquad
- Layers now are instancied at run time if the user ommit to specify a layer
  by default the human layer is set to any gameObject that have an Unit.cs script
  attached to it's component. Idem for ZombieSquad and VampireSquad
2015-08-14 12:22:10 -04:00
Samuel
a4320a4b80 - Added relative movement towards the squad leader (hard code) 2015-08-13 19:16:24 -04:00
Samuel
df64a801c1 - Added capture option 2015-08-13 19:09:23 -04:00
Samuel
93f8868ba1 - Upgraded the AttackSquad functions
- Upgraded the default positions of the prefabs : Zombie and Vampire
2015-08-13 15:25:55 -04:00
Samuel
dc19a98560 - Upgraded Squad, ZombieSquad, VampireSquad
- Refactored the class ZombieUnit, VampireUnit now are renamed
	to ZombieSquad and VampireSquad
2015-08-13 13:02:34 -04:00
Samuel
bc759b6ad9 - Improved Squad class
- Updated ZombieUnit and VampireUnit now hinerits from squad
2015-08-12 21:22:05 -04:00
Samuel
280fd57c2b - Added Squad script (not done)
- Updated Unit Hp property
- Added functions
	- addHuman
	- AddSoldier
	- healSquad( unit humanUnit )
	- abandonUnits( int nbUnits )
	- removeHuman( Unit humanUnit )
	- removeSoldier( Unit soldierUnit )
	- transformHuman() (not done)
2015-08-12 18:50:11 -04:00