C# Класс FarseerPhysics.Samples.ScreenSystem.PhysicsDemoScreen

Наследование: GameScreen
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Camera Camera2D
DebugView FarseerPhysics.DebugView.DebugViewXNA
World FarseerPhysics.Dynamics.World

Открытые методы

Метод Описание
Draw ( GameTime gameTime ) : void
GetDetails ( ) : string
GetTitle ( ) : string
HandleInput ( InputHelper input, GameTime gameTime ) : void
LoadContent ( ) : void
Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

Защищенные методы

Метод Описание
PhysicsDemoScreen ( ) : System
SetUserAgent ( Body agent, float force, float torque ) : void

Приватные методы

Метод Описание
HandleCamera ( InputHelper input, GameTime gameTime ) : void
HandleCursor ( InputHelper input ) : void
HandleUserAgent ( InputHelper input ) : void

Описание методов

Draw() публичный Метод

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

GetDetails() публичный Метод

public GetDetails ( ) : string
Результат string

GetTitle() публичный Метод

public GetTitle ( ) : string
Результат string

HandleInput() публичный Метод

public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
Результат void

LoadContent() публичный Метод

public LoadContent ( ) : void
Результат void

PhysicsDemoScreen() защищенный Метод

protected PhysicsDemoScreen ( ) : System
Результат System

SetUserAgent() защищенный Метод

protected SetUserAgent ( Body agent, float force, float torque ) : void
agent FarseerPhysics.Dynamics.Body
force float
torque float
Результат void

Update() публичный Метод

public Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void
gameTime Microsoft.Xna.Framework.GameTime
otherScreenHasFocus bool
coveredByOtherScreen bool
Результат void

Описание свойств

Camera защищенное свойство

protected Camera2D,FarseerPhysics.Samples.ScreenSystem Camera
Результат Camera2D

DebugView защищенное свойство

protected DebugViewXNA,FarseerPhysics.DebugView DebugView
Результат FarseerPhysics.DebugView.DebugViewXNA

World защищенное свойство

protected World,FarseerPhysics.Dynamics World
Результат FarseerPhysics.Dynamics.World