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