slowly teasing the view+controller out of the model classes.
actually doesn't work right now, but that will change. git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2050 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
13
OpenRa.Game/Support/SharedResources.cs
Normal file
13
OpenRa.Game/Support/SharedResources.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using IjwFramework.Types;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
namespace OpenRa.Game
|
||||
{
|
||||
class SharedResources
|
||||
{
|
||||
static Lazy<IniFile> rules = new Lazy<IniFile>(
|
||||
() => new IniFile( FileSystem.Open( "rules.ini" )));
|
||||
|
||||
public static IniFile Rules { get { return rules.Value; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user