C# Class hyades.editor.Editor

Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
asset_list List
camera Camera
curr_asset_index int
curr_depth_index int
curr_entity Entity
cursor Cursor
depth_values float[]
input InputDevice
level hyades.level.Level
player Entity
use_free_camera bool

Public Methods

Method Description
CreateFromAsset ( object asset ) : Entity
Draw ( GraphicsDevice device ) : void
Editor ( InputDevice input ) : System
GetInstance ( ) : Editor
Load ( ) : void
Save ( ) : void
SetCamera ( bool unrestricted ) : void
SetDebugView ( bool visible ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
SetRestrictedCamera ( ) : void
SetUnrestrictedCamera ( ) : void

Method Details

CreateFromAsset() public method

public CreateFromAsset ( object asset ) : Entity
asset object
return Entity

Draw() public method

public Draw ( GraphicsDevice device ) : void
device GraphicsDevice
return void

Editor() public method

public Editor ( InputDevice input ) : System
input InputDevice
return System

GetInstance() public static method

public static GetInstance ( ) : Editor
return Editor

Load() public method

public Load ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SetCamera() public method

public SetCamera ( bool unrestricted ) : void
unrestricted bool
return void

SetDebugView() public method

public SetDebugView ( bool visible ) : void
visible bool
return void

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

asset_list public property

public List asset_list
return List

camera public property

public Camera camera
return Camera

curr_asset_index public property

public int curr_asset_index
return int

curr_depth_index public property

public int curr_depth_index
return int

curr_entity public property

public Entity curr_entity
return Entity

cursor public property

public Cursor,hyades.editor cursor
return Cursor

depth_values public property

public float[] depth_values
return float[]

input public property

public InputDevice input
return InputDevice

level public property

public Level,hyades.level level
return hyades.level.Level

player public property

public Entity player
return Entity

use_free_camera public property

public bool use_free_camera
return bool