Example #1
0
        private void OnCollided(ICollideable sender, Entities.IFlyEntity colidee)
        {
            var entity = colidee as IGatheringEntity;

            if (entity != null)
            {
                this.OnPickedUp(entity);
            }
        }
Example #2
0
 private void OnDamaged(Damaging sender, Entities.IFlyEntity e)
 {
     this.Despawn();
 }