C# Class GameEntities.Decal

Inheritance: MapObject
Show file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Public Methods

Method Description
Decal ( ) : System
Init ( DecalCreator creator, Engine.Vertex vertices, int indices, string materialName, MapObject parentMapObject ) : void

Protected Methods

Method Description
Client_OnTick ( ) : void
OnDestroy ( ) : void
OnPostCreate ( bool loaded ) : void
OnRelatedEntityDelete ( Entity entity ) : void
OnShouldDelete ( ) : bool
OnTick ( ) : void

Private Methods

Method Description
CreateDecal ( ) : void
DestroyDecal ( ) : void
DoTick ( ) : void
StaticMeshObject_AddToRenderQueue ( StaticMeshObject staticMeshObject, Engine.Camera camera, bool &allowRender ) : void
UpdateBuffers ( ) : void

Method Details

Client_OnTick() protected method

protected Client_OnTick ( ) : void
return void

Decal() public method

public Decal ( ) : System
return System

Init() public method

public Init ( DecalCreator creator, Engine.Vertex vertices, int indices, string materialName, MapObject parentMapObject ) : void
creator DecalCreator
vertices Engine.Vertex
indices int
materialName string
parentMapObject MapObject
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnPostCreate() protected method

protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnRelatedEntityDelete() protected method

protected OnRelatedEntityDelete ( Entity entity ) : void
entity Entity
return void

OnShouldDelete() protected method

protected OnShouldDelete ( ) : bool
return bool

OnTick() protected method

protected OnTick ( ) : void
return void