C# Class Dandy.Player

Show file Open project: jackpal/Dandy-Dungeon Class Usage Examples

Public Properties

Property Type Description
arrow Arrow
bombs byte
dir Direction
food byte
health byte
keys byte
lastMoveTime System.DateTime
score uint
state PlayerState
x byte
y byte

Public Methods

Method Description
EatFood ( ) : void
Init ( ) : void
IsAlive ( ) : bool
IsVisible ( ) : bool
Player ( ) : System

Method Details

EatFood() public method

public EatFood ( ) : void
return void

Init() public method

public Init ( ) : void
return void

IsAlive() public method

public IsAlive ( ) : bool
return bool

IsVisible() public method

public IsVisible ( ) : bool
return bool

Player() public method

public Player ( ) : System
return System

Property Details

arrow public property

public Arrow,Dandy arrow
return Arrow

bombs public property

public byte bombs
return byte

dir public property

public Direction dir
return Direction

food public property

public byte food
return byte

health public property

public byte health
return byte

keys public property

public byte keys
return byte

lastMoveTime public property

public DateTime,System lastMoveTime
return System.DateTime

score public property

public uint score
return uint

state public property

public PlayerState state
return PlayerState

x public property

public byte x
return byte

y public property

public byte y
return byte