Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Globals Question

Author
Message
James Bondo
18
Years of Service
User Offline
Joined: 12th Nov 2006
Location: Denmark
Posted: 9th Jan 2007 11:36 Edited at: 9th Jan 2007 11:36
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


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:

To


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
James Bondo
18
Years of Service
User Offline
Joined: 12th Nov 2006
Location: Denmark
Posted: 9th Jan 2007 11:42
ok nvm, i figured it out.

Change all the
static public something
to
static protected something

Proud member of The Unforgiven Warriors
http://www.tuwguild.com

Login to post a reply

Server time is: 2024-11-19 10:28:49
Your offset time is: 2024-11-19 10:28:49