C# Class Dandy.Player

显示文件 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_oe property

public Arrow,Dandy arrow
return Arrow

bombs public_oe property

public byte bombs
return byte

dir public_oe property

public Direction dir
return Direction

food public_oe property

public byte food
return byte

health public_oe property

public byte health
return byte

keys public_oe property

public byte keys
return byte

lastMoveTime public_oe property

public DateTime,System lastMoveTime
return System.DateTime

score public_oe property

public uint score
return uint

state public_oe property

public PlayerState state
return PlayerState

x public_oe property

public byte x
return byte

y public_oe property

public byte y
return byte