Game Framework
GameFramework.GameStructure.Players.Messages.LivesChangedMessage Class Reference

A message that is generated when teh number of lives the player has is changed. More...

Inheritance diagram for GameFramework.GameStructure.Players.Messages.LivesChangedMessage:
GameFramework.Messaging.BaseMessage

Public Member Functions

 LivesChangedMessage (int newLives, int oldLives)
 
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 int NewLives
 The Players new number of lives More...
 
readonly int OldLives
 The Players old number of lives 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 teh number of lives the player has is changed.

Constructor & Destructor Documentation

GameFramework.GameStructure.Players.Messages.LivesChangedMessage.LivesChangedMessage ( int  newLives,
int  oldLives 
)

Member Function Documentation

override string GameFramework.GameStructure.Players.Messages.LivesChangedMessage.ToString ( )

Return a representation of the message

Returns

Member Data Documentation

readonly int GameFramework.GameStructure.Players.Messages.LivesChangedMessage.NewLives

The Players new number of lives

readonly int GameFramework.GameStructure.Players.Messages.LivesChangedMessage.OldLives

The Players old number of lives


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