/// <summary> /// Charge les ressources graphiques dont a besoin ce contrôleur. /// </summary> public void LoadContent() { m_minimap.LoadContent(); m_console.LoadContent(); CreateGui(); Server.GameServer.GetScene().GameInterpreter.MainContext.LocalVariables.Add("ctrl", new PonyCarpetExtractor.ExpressionTree.Mutable(this)); Server.GameServer.GetBattleLog().OnEvent += delegate(Tools.EventLog.Entry entry) { m_console.Output.AppendLine("[Battle] " + entry.Message); }; }