You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maxanthepaladin edited this page Jan 11, 2013
·
6 revisions
#Headers
#Headers
Header files must be enclosed in
#ifndef _CLASS_H_
#define _CLASS_H_
#endif//_CLASS_H_ Headers must have one class and one class only. Functions may only be defined in the header if they are getters or setters for a single variable with no extra functionality Any classes that can be forward declared should be forward declared in the header and included in the .cpp file
#Classes
Classes are declared with a Capital letter and if the class consists of many words the first letter of each word will be capitalized
class Unit
class UnitContainer