C# Class Dandy.World

Afficher le fichier Open project: jackpal/Dandy-Dungeon Class Usage Examples

Méthodes publiques

Свойство Type Description
level byte
map Map
numPlayers uint
player Dandy.Player[]
time System.DateTime

Méthodes publiques

Méthode Description
ChangeLevel ( int delta ) : void
DoArrowMove ( Player p, bool isFirstMove ) : void
DoMonsters ( ) : void
DoSmartBomb ( ) : void
EatFood ( uint index ) : void
Fire ( uint index ) : void
GetCOG ( float &x, float &y ) : void
GetDirectionOfNearestPlayer ( uint x, uint y ) : Direction
Init ( ) : void
IsGameOver ( ) : bool
IsPartyInWarp ( ) : bool
LoadLevel ( uint index ) : void
Move ( uint stick, Direction dir ) : void
MoveCoords ( byte &x, byte &y, Direction direction ) : void
PlaceInWorld ( uint index, uint x, uint y ) : void
SetPlayerPositions ( ) : void
Update ( ) : void
UseSmartBomb ( uint index ) : void
World ( ) : System
getRandom ( uint range ) : uint

Method Details

ChangeLevel() public méthode

public ChangeLevel ( int delta ) : void
delta int
Résultat void

DoArrowMove() public méthode

public DoArrowMove ( Player p, bool isFirstMove ) : void
p Player
isFirstMove bool
Résultat void

DoMonsters() public méthode

public DoMonsters ( ) : void
Résultat void

DoSmartBomb() public méthode

public DoSmartBomb ( ) : void
Résultat void

EatFood() public méthode

public EatFood ( uint index ) : void
index uint
Résultat void

Fire() public méthode

public Fire ( uint index ) : void
index uint
Résultat void

GetCOG() public méthode

public GetCOG ( float &x, float &y ) : void
x float
y float
Résultat void

GetDirectionOfNearestPlayer() public méthode

public GetDirectionOfNearestPlayer ( uint x, uint y ) : Direction
x uint
y uint
Résultat Direction

Init() public méthode

public Init ( ) : void
Résultat void

IsGameOver() public méthode

public IsGameOver ( ) : bool
Résultat bool

IsPartyInWarp() public méthode

public IsPartyInWarp ( ) : bool
Résultat bool

LoadLevel() public méthode

public LoadLevel ( uint index ) : void
index uint
Résultat void

Move() public méthode

public Move ( uint stick, Direction dir ) : void
stick uint
dir Direction
Résultat void

MoveCoords() public static méthode

public static MoveCoords ( byte &x, byte &y, Direction direction ) : void
x byte
y byte
direction Direction
Résultat void

PlaceInWorld() public méthode

public PlaceInWorld ( uint index, uint x, uint y ) : void
index uint
x uint
y uint
Résultat void

SetPlayerPositions() public méthode

public SetPlayerPositions ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UseSmartBomb() public méthode

public UseSmartBomb ( uint index ) : void
index uint
Résultat void

World() public méthode

public World ( ) : System
Résultat System

getRandom() public méthode

public getRandom ( uint range ) : uint
range uint
Résultat uint

Property Details

level public_oe property

public byte level
Résultat byte

map public_oe property

public Map,Dandy map
Résultat Map

numPlayers public_oe property

public uint numPlayers
Résultat uint

player public_oe property

public Player[],Dandy player
Résultat Dandy.Player[]

time public_oe property

public DateTime,System time
Résultat System.DateTime