C# Class xnapunk.XP

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: Gnoll/XNAPunk Class Usage Examples

Méthodes publiques

Свойство Type Description
BackgroundColor Color
Camera Camera
Canvas Microsoft.Xna.Framework.Graphics.SpriteBatch
ContentManager Microsoft.Xna.Framework.Content.ContentManager
Dimensions Point
Font Microsoft.Xna.Framework.Graphics.SpriteFont
FrameRate int
GotoWorld World
Graphics GraphicsDeviceManager
Rand System.Random
World World

Méthodes publiques

Méthode Description
AngleBetween ( float x1, float y1, float x2, float y2 ) : float
Distance ( Vector2 a, Vector2 b ) : float
Distance ( float x1, float y1, float x2, float y2 ) : float
ExitApp ( ) : void
ExitGame ( ) : void
Load ( String id ) : System.Image
XP ( Point dimensions ) : System
XP ( Point dimensions, int framerate ) : System

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AngleBetween() public static méthode

public static AngleBetween ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
Résultat float

Distance() public static méthode

public static Distance ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
Résultat float

Distance() public static méthode

public static Distance ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
Résultat float

Draw() protected méthode

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

ExitApp() public static méthode

public static ExitApp ( ) : void
Résultat void

ExitGame() public méthode

public ExitGame ( ) : void
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

Load() public static méthode

public static Load ( String id ) : System.Image
id String
Résultat System.Image

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

UnloadContent() protected méthode

protected UnloadContent ( ) : void
Résultat void

Update() protected méthode

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

XP() public méthode

public XP ( Point dimensions ) : System
dimensions Point
Résultat System

XP() public méthode

public XP ( Point dimensions, int framerate ) : System
dimensions Point
framerate int
Résultat System

Property Details

BackgroundColor public_oe static_oe property

public static Color BackgroundColor
Résultat Color

Camera public_oe static_oe property

public static Camera,xnapunk Camera
Résultat Camera

Canvas public_oe static_oe property

public static SpriteBatch,Microsoft.Xna.Framework.Graphics Canvas
Résultat Microsoft.Xna.Framework.Graphics.SpriteBatch

ContentManager public_oe static_oe property

public static ContentManager,Microsoft.Xna.Framework.Content ContentManager
Résultat Microsoft.Xna.Framework.Content.ContentManager

Dimensions public_oe static_oe property

public static Point Dimensions
Résultat Point

Font public_oe static_oe property

public static SpriteFont,Microsoft.Xna.Framework.Graphics Font
Résultat Microsoft.Xna.Framework.Graphics.SpriteFont

FrameRate public_oe static_oe property

public static int FrameRate
Résultat int

GotoWorld public_oe static_oe property

public static World GotoWorld
Résultat World

Graphics public_oe static_oe property

public static GraphicsDeviceManager Graphics
Résultat GraphicsDeviceManager

Rand public_oe static_oe property

public static Random,System Rand
Résultat System.Random

World public_oe static_oe property

public static World World
Résultat World