public DefaultRLView(AbstractRoguelike _game) { this.game = _game; // This must be the exact name of the bitmap font file we are using or it will error. string fontFileName = "terminal8x8.png"; // The title will appear at the top of the console window string consoleTitle = "RougeSharp V3 Tutorial - Level 1"; // Tell RLNet to use the bitmap font that we specified and that each tile is 8 x 8 pixels this.rootConsole = new RLRootConsole(fontFileName, _screenWidth, _screenHeight, 8, 8, 1f, consoleTitle); // Initialize the sub consoles that we will Blit to the root console this.mapConsole = new RLConsole(_mapWidth, _mapHeight); this.logConsole = new RLConsole(_messageWidth, _messageHeight); this.statConsole = new RLConsole(_statWidth, _statHeight); this.crewListConsole = new RLConsole(crewListWidth, crewListHeight); // Set up a handler for RLNET's Update event this.rootConsole.Update += this.OnRootConsoleUpdate; // Set up a handler for RLNET's Render event this.rootConsole.Render += this.OnRootConsoleRender; // Begin RLNET's game loop }
public ShadowfireEntityFactory(AbstractRoguelike _game, BasicEcs _ecs, MapData _map_data) : base(_game, _ecs, _map_data) { }