Code standard - TGAHobbyists/HobbyTurnbased GitHub Wiki

#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

⚠️ **GitHub.com Fallback** ⚠️