private void setTWGlobals(DataWrapper container) { var context = new TW.Context(); context.Graphics = game; context.Data = container; context.Physics = physX; context.Audio = new AudioWrapper(); TW.SetContext(context); }
private void setTWGlobals(DataWrapper container) { Context.Graphics = game; Context.Data = container; Context.Physics = physX; //Context.Audio = new AudioWrapper(); Context.Assets = new AssetsWrapper(); Context.Debug = new DebugWrapper(engine); Context.Engine = new EngineWrapper(); TW.SetContext(Context); }