MudEngine:
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.
This commit is contained in:
parent
a365256d53
commit
68d49a4160
23 changed files with 131 additions and 1753 deletions
|
@ -24,16 +24,39 @@ namespace MudEngine.Core
|
|||
[Description("Enables or Disables the Auto Save feature.")]
|
||||
public bool EnableAutoSave { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets if the game is currently running or not.
|
||||
/// </summary>
|
||||
public bool IsRunning { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the auto-save interval for the game during runtime
|
||||
/// </summary>
|
||||
public int AutoSaveInterval { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the minimum size a users account password must be
|
||||
/// </summary>
|
||||
public int PasswordMinimumSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the maximum number of players allowed to connect to the server at once.
|
||||
/// </summary>
|
||||
public int MaximumPlayers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the collection of players currently connected to the server
|
||||
/// </summary>
|
||||
public Dictionary<TcpClient, ICharacter> ConnectedPlayers { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the current version of the game.
|
||||
/// </summary>
|
||||
public string Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the environment that will be used when a new user account is created.
|
||||
/// </summary>
|
||||
public IEnvironment InitialEnvironment { get; set; }
|
||||
|
||||
public BaseGame()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue