C# 클래스 Dandy.World

파일 보기 프로젝트 열기: jackpal/Dandy-Dungeon 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
level byte
map Map
numPlayers uint
player Dandy.Player[]
time System.DateTime

공개 메소드들

메소드 설명
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

메소드 상세

ChangeLevel() 공개 메소드

public ChangeLevel ( int delta ) : void
delta int
리턴 void

DoArrowMove() 공개 메소드

public DoArrowMove ( Player p, bool isFirstMove ) : void
p Player
isFirstMove bool
리턴 void

DoMonsters() 공개 메소드

public DoMonsters ( ) : void
리턴 void

DoSmartBomb() 공개 메소드

public DoSmartBomb ( ) : void
리턴 void

EatFood() 공개 메소드

public EatFood ( uint index ) : void
index uint
리턴 void

Fire() 공개 메소드

public Fire ( uint index ) : void
index uint
리턴 void

GetCOG() 공개 메소드

public GetCOG ( float &x, float &y ) : void
x float
y float
리턴 void

GetDirectionOfNearestPlayer() 공개 메소드

public GetDirectionOfNearestPlayer ( uint x, uint y ) : Direction
x uint
y uint
리턴 Direction

Init() 공개 메소드

public Init ( ) : void
리턴 void

IsGameOver() 공개 메소드

public IsGameOver ( ) : bool
리턴 bool

IsPartyInWarp() 공개 메소드

public IsPartyInWarp ( ) : bool
리턴 bool

LoadLevel() 공개 메소드

public LoadLevel ( uint index ) : void
index uint
리턴 void

Move() 공개 메소드

public Move ( uint stick, Direction dir ) : void
stick uint
dir Direction
리턴 void

MoveCoords() 공개 정적인 메소드

public static MoveCoords ( byte &x, byte &y, Direction direction ) : void
x byte
y byte
direction Direction
리턴 void

PlaceInWorld() 공개 메소드

public PlaceInWorld ( uint index, uint x, uint y ) : void
index uint
x uint
y uint
리턴 void

SetPlayerPositions() 공개 메소드

public SetPlayerPositions ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UseSmartBomb() 공개 메소드

public UseSmartBomb ( uint index ) : void
index uint
리턴 void

World() 공개 메소드

public World ( ) : System
리턴 System

getRandom() 공개 메소드

public getRandom ( uint range ) : uint
range uint
리턴 uint

프로퍼티 상세

level 공개적으로 프로퍼티

public byte level
리턴 byte

map 공개적으로 프로퍼티

public Map,Dandy map
리턴 Map

numPlayers 공개적으로 프로퍼티

public uint numPlayers
리턴 uint

player 공개적으로 프로퍼티

public Player[],Dandy player
리턴 Dandy.Player[]

time 공개적으로 프로퍼티

public DateTime,System time
리턴 System.DateTime