C# 클래스 _3D_Madness.Game1

상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: Arasho/GR 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CanStone bool
CheckStone bool
czarnymodel Microsoft.Xna.Framework.Graphics.Texture2D
kbprevious Microsoft.Xna.Framework.Input.KeyboardState
listOfPlayers List
putElement bool
whereIam float
wyniki List

공개 메소드들

메소드 설명
Game1 ( ) : System

보호된 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
affectCamera ( ) : void

Update camera position.

backFromResults ( ) : void
checkForExit ( ) : void

Implement ability to exit via Escape key.

implementMouseFunctionalities ( ) : void

Implementation of all mouse buttons and behaviors.

initPlayers ( ) : void

Initialization of all players.

initializeGame ( ) : void

Initialization of the game. This method should be called on start.

initializeResults ( ) : void
isLeftButtonClicked ( ) : bool

Checks whether left button of the mouse is clicked.

isRightButtonClicked ( ) : bool

Checks whether right button of the mouse is clicked.

limitCameraAngle ( ) : void

Creates angle limits for the camera.

steerCameraViaKeyboard ( KeyboardState keyboardState ) : void

Implementation of steering camera via keyboard.

steerCameraViaMouse ( ) : void

Implementation of camera steering via mouse movement, especially on screen edges.

zoomBoard ( float speed ) : void

Zooms board

메소드 상세

Draw() 보호된 메소드

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Game1() 공개 메소드

public Game1 ( ) : System
리턴 System

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

CanStone 공개적으로 프로퍼티

public bool CanStone
리턴 bool

CheckStone 공개적으로 프로퍼티

public bool CheckStone
리턴 bool

czarnymodel 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics czarnymodel
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

kbprevious 공개적으로 프로퍼티

public KeyboardState,Microsoft.Xna.Framework.Input kbprevious
리턴 Microsoft.Xna.Framework.Input.KeyboardState

listOfPlayers 공개적으로 정적으로 프로퍼티

public static List listOfPlayers
리턴 List

putElement 공개적으로 프로퍼티

public bool putElement
리턴 bool

whereIam 공개적으로 프로퍼티

public float whereIam
리턴 float

wyniki 공개적으로 정적으로 프로퍼티

public static List wyniki
리턴 List