C# Class Descent.Messaging.Events.PlaceHeroEventArgs

The event arguments for PlaceHero event.
Inheritance: GameEventArgs
显示文件 Open project: nezbo/Descent Class Usage Examples

Public Methods

Method Description
PlaceHeroEventArgs ( int playerId, int x, int y ) : System.Diagnostics.Contracts
PlaceHeroEventArgs ( string stringArgs ) : System.Diagnostics.Contracts
PopulateWithArgs ( string stringArgs ) : void
ToString ( ) : string

Method Details

PlaceHeroEventArgs() public method

public PlaceHeroEventArgs ( int playerId, int x, int y ) : System.Diagnostics.Contracts
playerId int
x int
y int
return System.Diagnostics.Contracts

PlaceHeroEventArgs() public method

public PlaceHeroEventArgs ( string stringArgs ) : System.Diagnostics.Contracts
stringArgs string
return System.Diagnostics.Contracts

PopulateWithArgs() public method

public PopulateWithArgs ( string stringArgs ) : void
stringArgs string
return void

ToString() public method

public ToString ( ) : string
return string