C# 클래스 FBClient.Core.GameManager

This class is used to regroup common behaviors between network and local game logic.
상속: FBLibrary.Core.BaseGameManager
파일 보기 프로젝트 열기: Noxalus/Final-Bomber 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BombList List
Camera Camera2D
Players PlayerCollection
PowerUpList List

보호된 프로퍼티들

프로퍼티 타입 설명
WallList List

공개 메소드들

메소드 설명
AddBomb ( Bomb bomb ) : void
AddPlayer ( Player player ) : void
AddPowerUp ( Point position ) : void
AddPowerUp ( PowerUpType type, Point position ) : void
AddWall ( Point position ) : void
AddWalls ( IEnumerable wallPositions ) : void
Dispose ( ) : void
Draw ( GameTime gameTime, Camera2D camera ) : void
Initialize ( ) : void
LoadContent ( ) : void
PickUpPowerUp ( BasePlayer player, BasePowerUp powerUp ) : void
PlayerDeathAction ( BasePlayer sender, EventArgs args ) : void
RoundEndAction ( ) : void
Update ( ) : void

보호된 메소드들

메소드 설명
DestroyBomb ( Point position ) : void
DestroyPlayer ( int playerId ) : void
DestroyPowerUp ( Point position ) : void
DestroyWall ( Point position ) : void
GameManager ( ) : System
RemoveWall ( Wall wall ) : void
Reset ( ) : void
UpdateBombs ( ) : void
UpdatePlayers ( ) : void
UpdatePowerUps ( ) : void
UpdateWalls ( ) : void

비공개 메소드들

메소드 설명
RemoveBomb ( Bomb bomb ) : void
RemovePowerUp ( PowerUp powerUp ) : void

메소드 상세

AddBomb() 공개 메소드

public AddBomb ( Bomb bomb ) : void
bomb FBClient.Core.Entities.Bomb
리턴 void

AddPlayer() 공개 메소드

public AddPlayer ( Player player ) : void
player Player
리턴 void

AddPowerUp() 공개 메소드

public AddPowerUp ( Point position ) : void
position Point
리턴 void

AddPowerUp() 공개 메소드

public AddPowerUp ( PowerUpType type, Point position ) : void
type PowerUpType
position Point
리턴 void

AddWall() 공개 메소드

public AddWall ( Point position ) : void
position Point
리턴 void

AddWalls() 공개 메소드

public AddWalls ( IEnumerable wallPositions ) : void
wallPositions IEnumerable
리턴 void

DestroyBomb() 보호된 메소드

protected DestroyBomb ( Point position ) : void
position Point
리턴 void

DestroyPlayer() 보호된 메소드

protected DestroyPlayer ( int playerId ) : void
playerId int
리턴 void

DestroyPowerUp() 보호된 메소드

protected DestroyPowerUp ( Point position ) : void
position Point
리턴 void

DestroyWall() 보호된 메소드

protected DestroyWall ( Point position ) : void
position Point
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime, Camera2D camera ) : void
gameTime Microsoft.Xna.Framework.GameTime
camera Camera2D
리턴 void

GameManager() 보호된 메소드

protected GameManager ( ) : System
리턴 System

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

PickUpPowerUp() 공개 메소드

public PickUpPowerUp ( BasePlayer player, BasePowerUp powerUp ) : void
player BasePlayer
powerUp FBLibrary.Core.BaseEntities.BasePowerUp
리턴 void

PlayerDeathAction() 공개 메소드

public PlayerDeathAction ( BasePlayer sender, EventArgs args ) : void
sender BasePlayer
args System.EventArgs
리턴 void

RemoveWall() 보호된 메소드

protected RemoveWall ( Wall wall ) : void
wall FBClient.Core.Entities.Wall
리턴 void

Reset() 보호된 메소드

protected Reset ( ) : void
리턴 void

RoundEndAction() 공개 메소드

public RoundEndAction ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateBombs() 보호된 메소드

protected UpdateBombs ( ) : void
리턴 void

UpdatePlayers() 보호된 메소드

protected UpdatePlayers ( ) : void
리턴 void

UpdatePowerUps() 보호된 메소드

protected UpdatePowerUps ( ) : void
리턴 void

UpdateWalls() 보호된 메소드

protected UpdateWalls ( ) : void
리턴 void

프로퍼티 상세

BombList 공개적으로 프로퍼티

public List BombList
리턴 List

Camera 공개적으로 프로퍼티

public Camera2D Camera
리턴 Camera2D

Players 공개적으로 프로퍼티

public PlayerCollection Players
리턴 PlayerCollection

PowerUpList 공개적으로 프로퍼티

public List PowerUpList
리턴 List

WallList 보호되어 있는 프로퍼티

protected List WallList
리턴 List