C# Class Gravitation.Comms.Messages.ShipStateUpdate

Inheritance: AbstractMessage
Datei anzeigen Open project: thedamoes/Gravitation Class Usage Examples

Public Methods

Method Description
ShipStateUpdate ( byte data ) : System
ShipStateUpdate ( int shipx, int shipy, int ship2x, int ship2y, float ship1Rot, float ship2Rot, System.TimeSpan timestamp ) : System

Protected Methods

Method Description
getMessageHeader ( ) : char

Method Details

ShipStateUpdate() public method

public ShipStateUpdate ( byte data ) : System
data byte
return System

ShipStateUpdate() public method

public ShipStateUpdate ( int shipx, int shipy, int ship2x, int ship2y, float ship1Rot, float ship2Rot, System.TimeSpan timestamp ) : System
shipx int
shipy int
ship2x int
ship2y int
ship1Rot float
ship2Rot float
timestamp System.TimeSpan
return System

getMessageHeader() protected method

protected getMessageHeader ( ) : char
return char