Game Development Reference
In-Depth Information
•
that a class is a blueprint for an object (also called an instance of that class), and
can therefore be used as a type;
•
that the constructor method of a class responsible is for creating an instance of
that class;
•
theroleof
this
as the object that we are currently manipulating in a method.