C# 클래스 Engine.Program

파일 보기 프로젝트 열기: Radnen/sphere-sfml

공개 프로퍼티들

프로퍼티 타입 설명
Batch SpriteBatch
_clipper IntRect
_engine ScriptEngine
_window RenderWindow

공개 메소드들

메소드 설명
Abort ( string msg ) : void
BlendColors ( Color c1, Color c2 ) : ColorInstance
BlendColorsWeighted ( Color c1, Color c2, double w ) : ColorInstance
BlendColorsWeighted ( ColorInstance c1, ColorInstance c2, double w ) : ColorInstance
CreateObject ( ) : ObjectInstance
Exit ( ) : void
FlipScreen ( ) : void
GetFrameRate ( ) : int
GetScreenHeight ( ) : int
GetScreenWidth ( ) : int
GetSphereEngine ( ) : ScriptEngine
GetSystemFont ( ) : FontInstance
GetTime ( ) : double
InitWindow ( Styles style ) : bool
IsFullScreen ( ) : bool
ParseSpherePath ( string path, string root ) : string

Sandboxes the game.sgm, allows to peek a level behind.

SetFrameRate ( int fps ) : void
SetFullScreen ( bool value ) : void
SetScaled ( bool v ) : void
SetupTestEnvironment ( ) : void
ShowAbortScreen ( string message ) : void

비공개 메소드들

메소드 설명
BlendColors ( ColorInstance c1, ColorInstance c2 ) : ColorInstance
CreateByteArray ( int size ) : ByteArrayInstance
CreateByteArrayFromString ( string content ) : ByteArrayInstance
CreateColor ( int r, int g, int b, [ a = 255 ) : ColorInstance
CreateDirectory ( string fullname ) : void
CreateSpriteset ( int width, int height, int i, int d, int f ) : SpritesetInstance
CreateStringFromByteArray ( ByteArrayInstance array ) : string
CreateStringFromCode ( int code ) : string
CreateSurface ( int w, int h, ColorInstance color ) : HWSurfaceInstance
FindIcon ( ) : void
GarbageCollect ( ) : void
GetClippingRectangle ( ) : ObjectInstance
GetDirectoryList ( [ filepath = "" ) : ArrayInstance
GetExtensions ( ) : ArrayInstance
GetFileList ( [ filepath = "" ) : ArrayInstance
GetGameList ( ) : ArrayInstance
GetHash ( HashAlgorithm algorithm, byte content ) : string
GetLocalAddress ( ) : string
GetLocalName ( ) : string
GetSystemArrow ( ) : ImageInstance
GetSystemDownArrow ( ) : ImageInstance
GetSystemUpArrow ( ) : ImageInstance
GetSystemWindowStyle ( ) : WindowStyleInstance
GetVersion ( ) : double
GetVersionString ( ) : string
GrabImage ( int x, int y, int w, int h ) : ImageInstance
GrabSurface ( int x, int y, int w, int h ) : SurfaceInstance
HashByteArray ( ByteArrayInstance array, [ sha = false ) : string
HashFromFile ( string filename, [ sha = false ) : string
InitEngine ( ) : bool
LineIntersects ( ObjectInstance a1, ObjectInstance b1, ObjectInstance a2, ObjectInstance b2 ) : bool
ListGames ( ) : void
ListenOnPort ( int port ) : object
LoadFont ( string filename ) : FontInstance
LoadImage ( string filename ) : ImageInstance
LoadSound ( string filename ) : SoundInstance
LoadSpriteset ( string filename ) : SpritesetInstance
LoadSurface ( string filename ) : HWSurfaceInstance
LoadWindowStyle ( string filename ) : WindowStyleInstance
Main ( string args ) : void
OpenAddress ( string address, int port ) : object
OpenFile ( string filename ) : FileInstance
OpenRawFile ( string filename, [ writeable = false ) : RawFileInstance
Print ( object obj ) : void
RemoveDirectory ( string filepath ) : void
RemoveFile ( string filepath ) : void
Rename ( string file1, string file2 ) : bool
SetClippingRectangle ( int x, int y, int w, int h ) : void
SetGlobalConst ( ScriptEngine engine ) : void

메소드 상세

Abort() 공개 정적인 메소드

public static Abort ( string msg ) : void
msg string
리턴 void

BlendColors() 공개 정적인 메소드

public static BlendColors ( Color c1, Color c2 ) : ColorInstance
c1 Color
c2 Color
리턴 ColorInstance

BlendColorsWeighted() 공개 정적인 메소드

public static BlendColorsWeighted ( Color c1, Color c2, double w ) : ColorInstance
c1 Color
c2 Color
w double
리턴 ColorInstance

BlendColorsWeighted() 공개 정적인 메소드

public static BlendColorsWeighted ( ColorInstance c1, ColorInstance c2, double w ) : ColorInstance
c1 ColorInstance
c2 ColorInstance
w double
리턴 ColorInstance

CreateObject() 공개 정적인 메소드

public static CreateObject ( ) : ObjectInstance
리턴 ObjectInstance

Exit() 공개 정적인 메소드

public static Exit ( ) : void
리턴 void

FlipScreen() 공개 정적인 메소드

public static FlipScreen ( ) : void
리턴 void

GetFrameRate() 공개 정적인 메소드

public static GetFrameRate ( ) : int
리턴 int

GetScreenHeight() 공개 정적인 메소드

public static GetScreenHeight ( ) : int
리턴 int

GetScreenWidth() 공개 정적인 메소드

public static GetScreenWidth ( ) : int
리턴 int

GetSphereEngine() 공개 정적인 메소드

public static GetSphereEngine ( ) : ScriptEngine
리턴 ScriptEngine

GetSystemFont() 공개 정적인 메소드

public static GetSystemFont ( ) : FontInstance
리턴 FontInstance

GetTime() 공개 정적인 메소드

public static GetTime ( ) : double
리턴 double

InitWindow() 공개 정적인 메소드

public static InitWindow ( Styles style ) : bool
style Styles
리턴 bool

IsFullScreen() 공개 정적인 메소드

public static IsFullScreen ( ) : bool
리턴 bool

ParseSpherePath() 공개 정적인 메소드

Sandboxes the game.sgm, allows to peek a level behind.
public static ParseSpherePath ( string path, string root ) : string
path string Path.
root string Root.
리턴 string

SetFrameRate() 공개 정적인 메소드

public static SetFrameRate ( int fps ) : void
fps int
리턴 void

SetFullScreen() 공개 정적인 메소드

public static SetFullScreen ( bool value ) : void
value bool
리턴 void

SetScaled() 공개 정적인 메소드

public static SetScaled ( bool v ) : void
v bool
리턴 void

SetupTestEnvironment() 공개 정적인 메소드

public static SetupTestEnvironment ( ) : void
리턴 void

ShowAbortScreen() 공개 정적인 메소드

public static ShowAbortScreen ( string message ) : void
message string
리턴 void

프로퍼티 상세

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

public static SpriteBatch Batch
리턴 SpriteBatch

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

public static IntRect _clipper
리턴 IntRect

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

public static ScriptEngine _engine
리턴 ScriptEngine

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

public static RenderWindow _window
리턴 RenderWindow