Click or drag to resize

PlayerInfo Class

Player Information
Inheritance Hierarchy
SystemObject
  INF1771_GameClient.dtoPlayerInfo

Namespace:  INF1771_GameClient.dto
Assembly:  INF1771_GameClient (in INF1771_GameClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class PlayerInfo

The PlayerInfo type exposes the following members.

Constructors
  NameDescription
Public methodPlayerInfo
Create a new PlayerInfo DTO
Top
Properties
  NameDescription
Public propertycolor
Player color (R, G, B)
Public propertydir
Player direction (north,south, east or west)
Public propertyname
Player name
Public propertynode
Player node id
Public propertystate
Player state (ready, game, dead or gameover)
Public propertyx
Player position x
Public propertyy
Player position y
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also