C# Class GameEntities.Bullet

Defines the bullets.
Inheritance: Dynamic
Exibir arquivo Open project: DarrenHassan/GDM4242-GroupD

Protected Methods

Method Description
OnCreate ( ) : void
OnDieObjectCreate ( MapObjectCreateObject createObject, object objectCreated ) : void
OnHit ( Shape shape, Vec3 normal, MapObject obj ) : void
OnLifeTimeIsOver ( ) : void
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnRelatedEntityDelete ( Entity entity ) : void

Overridden from Engine.EntitySystem.Entity.OnRelatedEntityDelete(Entity)

OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Private Methods

Method Description
CreateWaterPlaneSplash ( Ray ray ) : void

Method Details

OnCreate() protected method

protected OnCreate ( ) : void
return void

OnDieObjectCreate() protected method

protected OnDieObjectCreate ( MapObjectCreateObject createObject, object objectCreated ) : void
createObject MapObjectCreateObject
objectCreated object
return void

OnHit() protected method

protected OnHit ( Shape shape, Vec3 normal, MapObject obj ) : void
shape Shape
normal Vec3
obj MapObject
return void

OnLifeTimeIsOver() protected method

protected OnLifeTimeIsOver ( ) : void
return void

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnRelatedEntityDelete() protected method

Overridden from Engine.EntitySystem.Entity.OnRelatedEntityDelete(Entity)
protected OnRelatedEntityDelete ( Entity entity ) : void
entity Entity
return void

OnTick() protected method

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
return void