This section investigates the inner details of GameBrix objects with a couple of examples. Referring to a property directly and assigning it a name can change it. For example, to rotate an object by 45 degrees, you can use the following command:
_rotation = 45;
Objects have tasks they can perform, as seen in Table 8.4. You can embed a set of tasks inside an entity within the object, called a method. You can call object methods directly to perform a set of commands. By default, every GameBrix object has a set of methods for performing high-level tasks. For example, to navigate to a Web page, you can invoke the following method available within every object:
Apart from changing ...