muddesigner/MudEngine/Scripting/GameObjectCollection.cs
Scionwest_cp 35c10eed68 MudEngine:
- Implemented Scripting Engine; Not fully completed
 - Migrated PlayerBasic from MudDesigner to MudEngine.
2010-07-16 15:35:10 -07:00

30 lines
677 B
C#

//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);
}
}
}