C# Class MrGravity.Game_Objects.Static_Objects.Triggers.FxTrigger

Inheritance: Trigger
Exibir arquivo Open project: DizWARE/Mr-Gravity Class Usage Examples

Public Methods

Method Description
FxTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic

Constructs a trigger that will play a sound effect

RunTrigger ( List objects, Player player ) : void

Runs the sound effect

Method Details

FxTrigger() public method

Constructs a trigger that will play a sound effect
public FxTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic
content Microsoft.Xna.Framework.Content.ContentManager Content to load from
entity MrGravity.Import_Code.EntityInfo Entity information
return System.Collections.Generic

RunTrigger() public method

Runs the sound effect
public RunTrigger ( List objects, Player player ) : void
objects List List of objects in the game
player MrGravity.Game_Objects.Physics_Objects.Player Player
return void