C# Class GameEntities.Crane

Gives an opportunity of creation of the crane and his control via Intellect.
Inheritance: Unit
Mostra file Open project: DarrenHassan/GDM4242-GroupD

Protected Methods

Method Description
OnDestroy ( ) : void

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

OnPostCreate ( bool loaded ) : void

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

OnPostCreate2 ( bool loaded ) : void

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

OnRelatedEntityDelete ( Entity entity ) : void

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

OnRender ( Engine.Camera camera ) : void
OnTick ( ) : void

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

Private Methods

Method Description
CreateFixedJointForAttachedObject ( MagnetObjectItem item ) : void
CreateThreads ( ) : void
DestroyThreads ( ) : void
IsMagnetBodyAttached ( Body body ) : bool
MagnetAttachObject ( Body mapObjectBody ) : void
MagnetDetachAllObjects ( ) : void
MagnetDetachObject ( MagnetObjectItem item ) : void
TickIntellect ( ) : void
TickMagnet ( ) : void
UpdateThreads ( ) : void
magnetBody_Collision ( CollisionEvent &collisionEvent ) : void

Method Details

OnDestroy() protected method

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

OnPostCreate() protected method

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

OnPostCreate2() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate2(Boolean).
protected OnPostCreate2 ( 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

OnRender() protected method

protected OnRender ( Engine.Camera camera ) : void
camera Engine.Camera
return void

OnTick() protected method

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