C# Class MilkShakeFramework.Components.Scripting.ScriptNode

Inheritance: MilkShakeFramework.Core.Game.GameEntity
ファイルを表示 Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
ScriptNode ( GameEntity gameEntity, string url ) : System
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddFunctions ( Type classType ) : void
AddGlobalFunction ( Type _Type, string _LocalName, string _LUAName = "_NameClone" ) : void

AddGlobalFunction - Neatens up the stringy proccess of adding Global Lua Functions

attatchListeners ( GameEntity gameEntity ) : void
dispatchEvent ( string eventName ) : void

Method Details

ScriptNode() public method

public ScriptNode ( GameEntity gameEntity, string url ) : System
gameEntity MilkShakeFramework.Core.Game.GameEntity
url string
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void