Description:
Rename Bridge Engine.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r186:6df62126f82b -

1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
@@ -7,12 +7,12
7 7 namespace isometricparkfna.Engines {
8 8
9 9 [Sends(typeof(ToggleWindowMessage))]
10 public class NewsWindowBridgeEngine : Engine
10 public class ImGuiWindowBridgeEngine : Engine
11 11 {
12 12
13 13 public List<ToggleWindowMessage> messages;
14 14
15 public NewsWindowBridgeEngine()
15 public ImGuiWindowBridgeEngine()
16 16 {
17 17 this.messages = new List<ToggleWindowMessage>();
18 18 }
@@ -89,7 +89,7
89 89 private WorldBuilder WorldBuilder = new WorldBuilder();
90 90 private World World;
91 91
92 private NewsWindowBridgeEngine newsWindowBridgeEngine;
92 private ImGuiWindowBridgeEngine imGuiWindowBridgeEngine;
93 93
94 94 private static void Main(string[] args)
95 95 {
@@ -190,8 +190,8
190 190 WorldBuilder.AddEngine(new GameBridgeEngine(this));
191 191 WorldBuilder.AddEngine(new SimulationBridgeEngine(this.simulation));
192 192 WorldBuilder.AddEngine(new CameraBridgeEngine(this.camera));
193 this.newsWindowBridgeEngine = new NewsWindowBridgeEngine();
194 WorldBuilder.AddEngine(this.newsWindowBridgeEngine);
193 this.imGuiWindowBridgeEngine = new ImGuiWindowBridgeEngine();
194 WorldBuilder.AddEngine(this.imGuiWindowBridgeEngine);
195 195
196 196 // var budgetWindow = WorldBuilder.CreateEntity();
197 197 // WorldBuilder.SetComponent(budgetWindow, new VisibilityComponent{visible = true});
@@ -820,7 +820,7
820 820
821 821 if (this.showNews)
822 822 {
823 NewsWindow.Render(this.showNews, debugWindow.monoFont, this.simulation, this.newsWindowBridgeEngine);
823 NewsWindow.Render(this.showNews, debugWindow.monoFont, this.simulation, this.imGuiWindowBridgeEngine);
824 824 }
825 825
826 826 bool quit = false;
@@ -63,7 +63,7
63 63 public static class NewsWindow
64 64 {
65 65
66 public static void Render(bool show, ImFontPtr font, Simulation sim, NewsWindowBridgeEngine engine)
66 public static void Render(bool show, ImFontPtr font, Simulation sim, ImGuiWindowBridgeEngine engine)
67 67 {
68 68 bool newShow = show;
69 69 if (show)
You need to be logged in to leave comments. Login now