BaseGame.IsRunning property added. MudGame: Removed all of the old scripts. They will be re-wrote. MudGame will become a template project. Including a template Game that inherits from BaseGame, along with template characters and items. MudGame.cs added. Initial Game class. It does not support environment loading at this time. Program.cs re-wrote to run the game in a while() loop checking MudGame.IsRunning propery and calling the MudGame.Update() method each iteration. Deleted the Settings.ini file. I want to use something different.
23 lines
No EOL
441 B
C#
23 lines
No EOL
441 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.IO;
|
|
using System.Net.Sockets;
|
|
using System.Text;
|
|
|
|
namespace MudGame
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main(String[] args)
|
|
{
|
|
MudGame game = new MudGame();
|
|
game.Initialize();
|
|
|
|
while (game.IsRunning)
|
|
{
|
|
game.Update();
|
|
}
|
|
}
|
|
}
|
|
} |