Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace TutorialProject //This is the NAMESPACE, or name of the project. In Modding, this will usually be the name of the Mod.
- {
- public class ClassTutorial //This is the CLASS DEFINITION
- {
- public static ClassTutorial[] objects = new ClassTutorial[100];
- public static int numberOfObjects = 0;
- public int index;
- public ClassTutorial() //This is the CONSTRUCTOR
- {
- index = numberOfObjects
- objects[index] = this;
- numberOfObjects += 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement