C# 클래스 Game.ActionGameWindow

Defines a game window for FPS and TPS games.
상속: GameWindow
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD 1 사용 예제들

보호된 메소드들

메소드 설명
OnAttach ( ) : void
OnDetach ( ) : void
OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void
OnJoystickEvent ( JoystickInputEvent e ) : bool
OnKeyDown ( KeyEvent e ) : bool
OnKeyPress ( KeyPressEvent e ) : bool
OnKeyUp ( KeyEvent e ) : bool
OnMouseDoubleClick ( EMouseButtons button ) : bool
OnMouseDown ( EMouseButtons button ) : bool
OnMouseMove ( ) : bool
OnMouseUp ( EMouseButtons button ) : bool
OnMouseWheel ( int delta ) : bool
OnRender ( ) : void
OnRenderUI ( GuiRenderer renderer ) : void
OnTick ( float delta ) : void

비공개 메소드들

메소드 설명
ConsoleCommand_MovePlayerUnitToCamera ( string arguments ) : void
CurrentUnitAllowPlayerControlUse ( ) : bool
DrawPlayerInformation ( GuiRenderer renderer ) : void

To draw some information of a player

DrawPlayersStatistics ( GuiRenderer renderer ) : void
DrawTankGunTarget ( GuiRenderer renderer ) : void
DrawTarget ( GuiRenderer renderer ) : void

Draw a target at center of screen

GameControlsManager_GameControlsEvent ( GameControlsEventData e ) : void
GetActiveObserveCameraArea ( ) : ProjectEntities.ObserveCameraArea

Finds observe area in which there is a player.

GetActiveObserveCameraAreaCameraOrientation ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : bool

Receives orientation of the camera in the observe area of in which there is a player.

GetNearestPointToMapCurve ( Vec3 destPos, MapCurve mapCurve ) : Vec3

Finds the nearest point to a map curve.

GetPlayerUnit ( ) : Unit
GetRealCameraType ( ) : CameraType
IsCutSceneEnabled ( ) : bool
IsPlayerUnitVehicle ( ) : bool
SwitchUseEnd ( ) : void
SwitchUseStart ( ) : bool
UpdateCurrentPlayerUseObjects ( ) : void

Updates objects on which the player can to operate. Such as which the player can supervise switches, ingameGUI or control units.

UpdateHUD ( ) : void

Updates HUD screen

UpdateHUDControlIcon ( EControl control, string iconName ) : void
UpdatePlayerContusionMotionBlur ( ) : void

메소드 상세

OnAttach() 보호된 메소드

protected OnAttach ( ) : void
리턴 void

OnDetach() 보호된 메소드

protected OnDetach ( ) : void
리턴 void

OnGetCameraTransform() 보호된 메소드

protected OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void
position Vec3
forward Vec3
up Vec3
cameraFov Degree
리턴 void

OnJoystickEvent() 보호된 메소드

protected OnJoystickEvent ( JoystickInputEvent e ) : bool
e JoystickInputEvent
리턴 bool

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEvent e ) : bool
e KeyEvent
리턴 bool

OnKeyPress() 보호된 메소드

protected OnKeyPress ( KeyPressEvent e ) : bool
e KeyPressEvent
리턴 bool

OnKeyUp() 보호된 메소드

protected OnKeyUp ( KeyEvent e ) : bool
e KeyEvent
리턴 bool

OnMouseDoubleClick() 보호된 메소드

protected OnMouseDoubleClick ( EMouseButtons button ) : bool
button EMouseButtons
리턴 bool

OnMouseDown() 보호된 메소드

protected OnMouseDown ( EMouseButtons button ) : bool
button EMouseButtons
리턴 bool

OnMouseMove() 보호된 메소드

protected OnMouseMove ( ) : bool
리턴 bool

OnMouseUp() 보호된 메소드

protected OnMouseUp ( EMouseButtons button ) : bool
button EMouseButtons
리턴 bool

OnMouseWheel() 보호된 메소드

protected OnMouseWheel ( int delta ) : bool
delta int
리턴 bool

OnRender() 보호된 메소드

protected OnRender ( ) : void
리턴 void

OnRenderUI() 보호된 메소드

protected OnRenderUI ( GuiRenderer renderer ) : void
renderer GuiRenderer
리턴 void

OnTick() 보호된 메소드

protected OnTick ( float delta ) : void
delta float
리턴 void