MudEngine:

- Implemented Scripting Engine; Not fully completed
 - Migrated PlayerBasic from MudDesigner to MudEngine.
This commit is contained in:
Scionwest_cp 2010-07-16 15:35:10 -07:00
parent d40b8690d5
commit 35c10eed68
7 changed files with 339 additions and 1 deletions

View file

@ -0,0 +1,30 @@
//Microsoft .NET Framework
using System;
using System.Collections.Generic;
using System.Linq;
//MUD Engine
using MudEngine.FileSystem;
namespace MudEngine.Scripting
{
public class GameObjectCollection
{
internal List<GameObject> _GameObjects;
public GameObjectCollection()
{
_GameObjects = new List<GameObject>();
}
public void Save(string filename)
{
FileManager.Save(filename, _GameObjects);
}
public void Load(string filename)
{
_GameObjects = (List<GameObject>)FileManager.Load(filename, _GameObjects);
}
}
}