private void OnCollided(ICollideable sender, Entities.IFlyEntity colidee) { var entity = colidee as IGatheringEntity; if (entity != null) { this.OnPickedUp(entity); } }
private void OnDamaged(Damaging sender, Entities.IFlyEntity e) { this.Despawn(); }