C# Class invertika_game.Scripting.Script

Exibir arquivo Open project: Invertika/server

Public Methods

Method Description
create ( string engine ) : Script
determineEngineByFilename ( string filename ) : string
loadFile ( string name ) : bool
loadGlobalEventScript ( string file ) : bool
loadNPC ( string name, int id, int x, int y, char prog ) : void
setMap ( MapComposite m ) : void
update ( ) : void

Private Methods

Method Description
addDataToSpecial ( int id, Special special ) : void
executeGlobalEventFunction ( string function, Being obj ) : bool
performCraft ( Being crafter, List recipe ) : bool
performSpecialAction ( int specialId, Being caster ) : bool

Method Details

create() public static method

public static create ( string engine ) : Script
engine string
return Script

determineEngineByFilename() public static method

public static determineEngineByFilename ( string filename ) : string
filename string
return string

loadFile() public method

public loadFile ( string name ) : bool
name string
return bool

loadGlobalEventScript() public static method

public static loadGlobalEventScript ( string file ) : bool
file string
return bool

loadNPC() public method

public loadNPC ( string name, int id, int x, int y, char prog ) : void
name string
id int
x int
y int
prog char
return void

setMap() public method

public setMap ( MapComposite m ) : void
m invertika_game.Game.MapComposite
return void

update() public method

public update ( ) : void
return void