C# 클래스 xnapunk.XP

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

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

보호된 메소드들

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

메소드 상세

AngleBetween() 공개 정적인 메소드

public static AngleBetween ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
리턴 float

Distance() 공개 정적인 메소드

public static Distance ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
리턴 float

Distance() 공개 정적인 메소드

public static Distance ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
리턴 float

Draw() 보호된 메소드

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

ExitApp() 공개 정적인 메소드

public static ExitApp ( ) : void
리턴 void

ExitGame() 공개 메소드

public ExitGame ( ) : void
리턴 void

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

Load() 공개 정적인 메소드

public static Load ( String id ) : System.Image
id String
리턴 System.Image

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void

Update() 보호된 메소드

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

XP() 공개 메소드

public XP ( Point dimensions ) : System
dimensions Point
리턴 System

XP() 공개 메소드

public XP ( Point dimensions, int framerate ) : System
dimensions Point
framerate int
리턴 System

프로퍼티 상세

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

public static Color BackgroundColor
리턴 Color

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

public static Camera,xnapunk Camera
리턴 Camera

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

public static SpriteBatch,Microsoft.Xna.Framework.Graphics Canvas
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch

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

public static ContentManager,Microsoft.Xna.Framework.Content ContentManager
리턴 Microsoft.Xna.Framework.Content.ContentManager

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

public static Point Dimensions
리턴 Point

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

public static SpriteFont,Microsoft.Xna.Framework.Graphics Font
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

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

public static int FrameRate
리턴 int

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

public static World GotoWorld
리턴 World

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

public static GraphicsDeviceManager Graphics
리턴 GraphicsDeviceManager

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

public static Random,System Rand
리턴 System.Random

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

public static World World
리턴 World