9 Commits

Author SHA1 Message Date
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
df64a801c1 - Added capture option 2015-08-13 19:09:23 -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
Samuel
2eaea24800 - Updated scene (now the zombie game object contains the script that alow
them to attack and receiven damage.)
- Updated Unit script
2015-08-12 13:02:02 -04:00
Samuel
4690abe842 - added zombie material (temporary)
- Updated class unit (added a destroyUnit method)
- Updated ZombeUnit and VampireUnit, now the class detect that there are
	ennemies and will attack each other when intering in collision.
2015-08-11 14:39:32 -04:00
Samuel
1571326998 - Added CollisionEnter scripts 2015-08-11 14:06:23 -04:00
Samuel
5837a7f2c9 - Added Tag manager
- Added Class ZombieUnit (extends the Unit class)
- Added class VampireUnit (extends the Unit class)
2015-08-11 12:09:17 -04:00
Samuel
18c585cd29 - Added scene Sam_unitScene
- Updated .gitignore (added thumbs.db.meta and UnityVS project folder)
- Added class Unit (not finish)
- Added class Command (not finish)
2015-08-10 18:29:37 -04:00