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 / DGDK.net Multiple Instances of dgdkGlobals

Author
Message
Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 3rd Nov 2006 06:10
I haven't tried this yet, so it just a theoretical question. I'd like to hear from the experts first.

What issues might happen if I had multiple instances of say the DGDKLib.dgdkSprite class, or the other dgdgk classes?

I'm thinking ahead. Like inheriting the class for each my sprite classes:



or simpler, using it as a member variable

APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 3rd Nov 2006 09:03
Inheriting from the objects will not make any difference to how your classes will access the internal objects or sprites of DGDK.NET because they are process dependent. Your application could refer to several oDBSprite objects and yet they will all point to the same engine code.

Paul.

Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 3rd Nov 2006 09:08
Thats what I thought. I just wanted to make sure.

Login to post a reply

Server time is: 2024-11-19 09:30:17
Your offset time is: 2024-11-19 09:30:17