Свойство | Тип | Описание | |
---|---|---|---|
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 |
public static Abort ( string msg ) : void | ||
msg | string | |
Результат | void |
public static BlendColors ( Color c1, Color c2 ) : ColorInstance | ||
c1 | Color | |
c2 | Color | |
Результат | ColorInstance |
public static BlendColorsWeighted ( Color c1, Color c2, double w ) : ColorInstance | ||
c1 | Color | |
c2 | Color | |
w | double | |
Результат | ColorInstance |
public static BlendColorsWeighted ( ColorInstance c1, ColorInstance c2, double w ) : ColorInstance | ||
c1 | ColorInstance | |
c2 | ColorInstance | |
w | double | |
Результат | ColorInstance |
public static CreateObject ( ) : ObjectInstance | ||
Результат | ObjectInstance |
public static GetSphereEngine ( ) : ScriptEngine | ||
Результат | ScriptEngine |
public static GetSystemFont ( ) : FontInstance | ||
Результат | FontInstance |
public static InitWindow ( Styles style ) : bool | ||
style | Styles | |
Результат | bool |
public static ParseSpherePath ( string path, string root ) : string | ||
path | string | Path. |
root | string | Root. |
Результат | string |
public static SetFrameRate ( int fps ) : void | ||
fps | int | |
Результат | void |
public static SetFullScreen ( bool value ) : void | ||
value | bool | |
Результат | void |
public static SetScaled ( bool v ) : void | ||
v | bool | |
Результат | void |
public static SetupTestEnvironment ( ) : void | ||
Результат | void |
public static ShowAbortScreen ( string message ) : void | ||
message | string | |
Результат | void |