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 / C# - Non- Static classes

Author
Message
Scab
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location:
Posted: 19th Jan 2009 20:25
Is it possible to access instanciated non-static classes from the GameLoop function?

All I want to do is create an Objects class and then access it from the Application.Gameloop().

Thanks.
veltro
User Banned
Posted: 20th Jan 2009 13:13
Yes you can. The only requirement is that the object (instanciated class) is into GameLoop scope
Scab
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location:
Posted: 20th Jan 2009 20:05
Works.

Thanks.

Login to post a reply

Server time is: 2024-09-30 15:19:48
Your offset time is: 2024-09-30 15:19:48