TopDown Engine  v4.1
MoreMountains.Tools.MMGameEvent Struct Reference

MMGameEvents are used throughout the game for general game events (game started, game ended, life lost, etc.) More...

Static Public Member Functions

static void Trigger (string eventName, int intParameter=0, Vector2 vector2Parameter=default(Vector2), Vector3 vector3Parameter=default(Vector3), bool boolParameter=false, string stringParameter="")
 

Public Attributes

string EventName
 
int IntParameter
 
Vector2 Vector2Parameter
 
Vector3 Vector3Parameter
 
bool BoolParameter
 
string StringParameter
 

Static Public Attributes

static MMGameEvent e
 

Detailed Description

MMGameEvents are used throughout the game for general game events (game started, game ended, life lost, etc.)

Member Function Documentation

◆ Trigger()

static void MoreMountains.Tools.MMGameEvent.Trigger ( string  eventName,
int  intParameter = 0,
Vector2  vector2Parameter = default(Vector2),
Vector3  vector3Parameter = default(Vector3),
bool  boolParameter = false,
string  stringParameter = "" 
)
static

Member Data Documentation

◆ BoolParameter

bool MoreMountains.Tools.MMGameEvent.BoolParameter

◆ e

MMGameEvent MoreMountains.Tools.MMGameEvent.e
static

◆ EventName

string MoreMountains.Tools.MMGameEvent.EventName

◆ IntParameter

int MoreMountains.Tools.MMGameEvent.IntParameter

◆ StringParameter

string MoreMountains.Tools.MMGameEvent.StringParameter

◆ Vector2Parameter

Vector2 MoreMountains.Tools.MMGameEvent.Vector2Parameter

◆ Vector3Parameter

Vector3 MoreMountains.Tools.MMGameEvent.Vector3Parameter

The documentation for this struct was generated from the following file: