MudEngine:

- Minor tweaks to Room.cs for checking file extension validity
 - Scripting Engine and related classes added to Solution (Files existed but were not a part of solution)
This commit is contained in:
Scionwest_cp 2010-07-17 09:55:43 -07:00
parent 2c9536a02c
commit 06266b7245
3 changed files with 9 additions and 5 deletions

View file

@ -60,12 +60,12 @@ namespace MudEngine.Scripting
return previousProperty.GetValue(Instance, null);
}
/* Dynamic Type Instancing isn't supported in .NET 3.5; Requires 4.0
public dynamic GetProperty()
{
return Instance;
}
*/
public object InvokeMethod(string methodName, params object[] parameters)
{
MethodInfo method = Instance.GetType().GetMethod(methodName);