A concept in Object Oriented Programming. It acts as a Template which is a data-type for creating Objects
Structure
Attributes
These are the datatypes associated with your class.
- Like healthbar integer
Methods
Specific object-specific functions used for:
- Instantiating object (Constructor Method)
- Destroying object (Destructor Method)
- Accessing object attributes (Accessor Method)
- Mutating object attributes (Mutator Method)