Game Framework
GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage Class Reference

A message that is generated when the level score changes. More...

Inheritance diagram for GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage:
GameFramework.Messaging.BaseMessage

Public Member Functions

 LevelScoreChangedMessage (Level level, int newScore, int oldScore)
 
override string ToString ()
 Return a representation of the message More...
 
- Public Member Functions inherited from GameFramework.Messaging.BaseMessage
 BaseMessage ()
 
void DontShowInEditorLog ()
 Hide this message so that it isn't displayed in the editor logs. (Editor only method) More...
 

Public Attributes

readonly Level Level
 The Level that this update relates to More...
 
readonly int NewScore
 The levels new score More...
 
readonly int OldScore
 The levels old score More...
 
- Public Attributes inherited from GameFramework.Messaging.BaseMessage
string Name
 
SendModeType SendMode
 
bool DontShowInEditorLogInternal
 

Additional Inherited Members

- Public Types inherited from GameFramework.Messaging.BaseMessage
enum  SendModeType { SendModeType.SendToAll, SendModeType.SendToFirst }
 

Detailed Description

A message that is generated when the level score changes.

Constructor & Destructor Documentation

GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage.LevelScoreChangedMessage ( Level  level,
int  newScore,
int  oldScore 
)

Member Function Documentation

override string GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage.ToString ( )

Return a representation of the message

Returns

Member Data Documentation

readonly Level GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage.Level

The Level that this update relates to

readonly int GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage.NewScore

The levels new score

readonly int GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage.OldScore

The levels old score


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