Esempio n. 1
0
 public void Mate(Organism pMate)
 {
     _movement.Stop(1f);
     CreateFrom(this, pMate);
     _status.Mate(pMate);
 }
Esempio n. 2
0
 public override void OnAdded(IGameObject pGameObject)
 {
     base.OnAdded(pGameObject);
     _gameObject = (Enemy)pGameObject;
     _target     = (Organism)Scene.Current.GameObjects.Nearest(GameObject, "Organism");
 }
Esempio n. 3
0
 public void Attack(Organism pGameObject)
 {
     pGameObject.Health -= AttackPower;
 }