C# Class GameEntities.Minefield

Inheritance: MapObject
显示文件 Open project: DarrenHassan/GDM4242-GroupD

Public Methods

Method Description
GetMinefieldByPosition ( Vec3 position ) : Minefield

Protected Methods

Method Description
OnCalculateMapBounds ( Bounds &bounds ) : void

Overridden from Engine.MapSystem.MapObject.OnCalculateMapBounds(ref Bounds).

OnDestroy ( ) : void

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

OnEditorSelectionDebugRender ( Camera camera, bool bigBorder, bool simpleGeometry ) : void
OnGetEditorSelectionByRay ( Ray ray, Vec3 &pos, float &priority ) : bool
OnPostCreate ( bool loaded ) : void

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

OnRender ( Camera camera ) : void

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).

Method Details

GetMinefieldByPosition() public static method

public static GetMinefieldByPosition ( Vec3 position ) : Minefield
position Vec3
return Minefield

OnCalculateMapBounds() protected method

Overridden from Engine.MapSystem.MapObject.OnCalculateMapBounds(ref Bounds).
protected OnCalculateMapBounds ( Bounds &bounds ) : void
bounds Bounds
return void

OnDestroy() protected method

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

OnEditorSelectionDebugRender() protected method

protected OnEditorSelectionDebugRender ( Camera camera, bool bigBorder, bool simpleGeometry ) : void
camera Camera
bigBorder bool
simpleGeometry bool
return void

OnGetEditorSelectionByRay() protected method

protected OnGetEditorSelectionByRay ( Ray ray, Vec3 &pos, float &priority ) : bool
ray Ray
pos Vec3
priority float
return bool

OnPostCreate() protected method

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

OnRender() protected method

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).
protected OnRender ( Camera camera ) : void
camera Camera
return void