C# Class TiaraFramework.Component.Stage

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: TiaraGames/TiaraFramework Class Usage Examples

Méthodes publiques

Свойство Type Description
BackgoundColor Color
NextStage StageIndex
SprMgrClct SpriteManager>.Dictionary
Window Window
isFinished bool

Protected Properties

Свойство Type Description
KeyboardState Microsoft.Xna.Framework.Input.KeyboardState
MouseButton MouseButton
MouseLastPos Vector2
MouseMove Vector2
MouseState Microsoft.Xna.Framework.Input.MouseState
ScrollWheelChange int
ScrollWheelLastValue int
deltaFrames long
enable bool
framesTimer long
windowBounds Microsoft.Xna.Framework.Rectangle

Méthodes publiques

Méthode Description
AddSpriteManager ( string name ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
MoveSMs ( Vector2 moveVec, SpriteManager SMs ) : void
ResizeWindowBounds ( object sender, EventArgs e ) : void
Stage ( Microsoft.Xna.Framework.Game game, float fps ) : System
Update ( GameTime gameTime ) : void

Méthodes protégées

Méthode Description
ChangeStage ( StageIndex nextStage ) : void
ClearTimer ( ) : void
LoadContent ( ) : void
SetTempTimer ( double interval ) : long
SetTimer ( double interval ) : long
SetTimer ( int minites, double seconds ) : long
SetTimerWithFrame ( int frame ) : void
TimeToFrames ( double interval ) : int

Private Methods

Méthode Description
collectAllASprite ( ASprite source, List target ) : void

Method Details

AddSpriteManager() public méthode

public AddSpriteManager ( string name ) : void
name string
Résultat void

ChangeStage() protected méthode

protected ChangeStage ( StageIndex nextStage ) : void
nextStage StageIndex
Résultat void

ClearTimer() protected méthode

protected ClearTimer ( ) : void
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

MoveSMs() public méthode

public MoveSMs ( Vector2 moveVec, SpriteManager SMs ) : void
moveVec Vector2
SMs SpriteManager
Résultat void

ResizeWindowBounds() public méthode

public ResizeWindowBounds ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SetTempTimer() protected méthode

protected SetTempTimer ( double interval ) : long
interval double
Résultat long

SetTimer() protected méthode

protected SetTimer ( double interval ) : long
interval double
Résultat long

SetTimer() protected méthode

protected SetTimer ( int minites, double seconds ) : long
minites int
seconds double
Résultat long

SetTimerWithFrame() protected méthode

protected SetTimerWithFrame ( int frame ) : void
frame int
Résultat void

Stage() public méthode

public Stage ( Microsoft.Xna.Framework.Game game, float fps ) : System
game Microsoft.Xna.Framework.Game
fps float
Résultat System

TimeToFrames() protected méthode

protected TimeToFrames ( double interval ) : int
interval double
Résultat int

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

BackgoundColor public_oe property

public Color BackgoundColor
Résultat Color

KeyboardState protected_oe property

protected KeyboardState,Microsoft.Xna.Framework.Input KeyboardState
Résultat Microsoft.Xna.Framework.Input.KeyboardState

MouseButton protected_oe property

protected MouseButton,TiaraFramework.Component MouseButton
Résultat MouseButton

MouseLastPos protected_oe property

protected Vector2 MouseLastPos
Résultat Vector2

MouseMove protected_oe property

protected Vector2 MouseMove
Résultat Vector2

MouseState protected_oe property

protected MouseState,Microsoft.Xna.Framework.Input MouseState
Résultat Microsoft.Xna.Framework.Input.MouseState

NextStage public_oe property

public StageIndex NextStage
Résultat StageIndex

ScrollWheelChange protected_oe property

protected int ScrollWheelChange
Résultat int

ScrollWheelLastValue protected_oe property

protected int ScrollWheelLastValue
Résultat int

SprMgrClct public_oe property

public Dictionary SprMgrClct
Résultat SpriteManager>.Dictionary

Window public_oe property

public Window,TiaraFramework.Component Window
Résultat Window

deltaFrames protected_oe property

protected long deltaFrames
Résultat long

enable protected_oe property

protected bool enable
Résultat bool

framesTimer protected_oe property

protected long framesTimer
Résultat long

isFinished public_oe property

public bool isFinished
Résultat bool

windowBounds protected_oe property

protected Rectangle,Microsoft.Xna.Framework windowBounds
Résultat Microsoft.Xna.Framework.Rectangle