|
-
Nov 22nd, 2002, 01:43 PM
#1
Thread Starter
PowerPoster
Class variables in VB? (no, I won't use global vars!)
Hello,
Is there any way to do class variables in VB? Here's the problem:
I want to make 1 (template) class, let's name it cEnemy. Now what I need is a variable which every instance of cEnemy can access. In C you'd just declare a static variable inside the class, so is there any way in VB? I repeat, I don't want to use global variables or public variables in modules!
thanks,
Fox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|