C# Class EditorMapa2D.World

Exibir arquivo Open project: farlei/libEGL Class Usage Examples

Public Properties

Property Type Description
events string>.Dictionary
region_image Dictionary>
regions Region>.Dictionary
tilesets Tileset>.Dictionary

Public Methods

Method Description
AddEvent ( int code, string name ) : int
AddEvent ( string name ) : int
AddRegion ( Region region ) : int
AddRegion ( int mapW, int mapH, int tileW, int tileH ) : int
AddTileset ( Tileset tile ) : int
AddTileset ( string path ) : int
World ( ) : System
delete_event ( int event_code ) : void
edit_event ( int event_code, string event_name ) : void
getImage ( int i, int j, bool redesenha ) : Image
get_event ( int i ) : string

Method Details

AddEvent() public method

public AddEvent ( int code, string name ) : int
code int
name string
return int

AddEvent() public method

public AddEvent ( string name ) : int
name string
return int

AddRegion() public method

public AddRegion ( Region region ) : int
region Region
return int

AddRegion() public method

public AddRegion ( int mapW, int mapH, int tileW, int tileH ) : int
mapW int
mapH int
tileW int
tileH int
return int

AddTileset() public method

public AddTileset ( Tileset tile ) : int
tile Tileset
return int

AddTileset() public method

public AddTileset ( string path ) : int
path string
return int

World() public method

public World ( ) : System
return System

delete_event() public method

public delete_event ( int event_code ) : void
event_code int
return void

edit_event() public method

public edit_event ( int event_code, string event_name ) : void
event_code int
event_name string
return void

getImage() public method

public getImage ( int i, int j, bool redesenha ) : Image
i int
j int
redesenha bool
return Image

get_event() public method

public get_event ( int i ) : string
i int
return string

Property Details

events public_oe property

public Dictionary events
return string>.Dictionary

region_image public_oe property

public Dictionary> region_image
return Dictionary>

regions public_oe property

public Dictionary regions
return Region>.Dictionary

tilesets public_oe property

public Dictionary tilesets
return Tileset>.Dictionary