ATM im making some kind of maze game as i stated in another topic.
Im seperating my actual code in a class library (another assembly).
I then noticed a somewhat annoying thing, however it has no impact on the game development phase.
This would be my class in a seperate assembly
namespace GameData
{
public testclass : CDGDK
{
public testclass()
{
//something...
}
}
}
The problem is that in my main code i can use this (example):
GameData.testclass.oDBCore.SyncOn()
Its not really a problem, but can i somehow change the globals file or my class so that i only see my own defined methods and so on?
On a side note, i changed these lines in the globals:
System.Reflection.Assembly.GetExecutingAssembly()
To
System.Reflection.Assembly.GetEntryAssembly()
This enables me to put the InitializeGDGK(key) in my seperate asembly and still work.
Proud member of The Unforgiven Warriors
http://www.tuwguild.com