Skip to content
Samuel Crow edited this page Sep 25, 2018 · 5 revisions

Welcome

Welcome to the Hollywood-Classes instruction pages! See the index sidebar to look up the classes or keep reading for an introduction.

Classes

The fundamental unit of object-oriented programming is the class. This implementation is defined within the class.hws file in the include directory.

Typically, because the rest of the framework depends on the class definitions, the first preprocessor include will be as follows:

@INCLUDE "class.hws"

This assumes that there isn't a separate directory for global includes. In the future, there will be a framework include that will define the includes as constants.

Methods

Methods are functions that are applied to a created object of a particular class. They define everything that can be done to a class.

Interfaces

Interfaces are simple guarantees that methods exist for a particular purpose. Bigger interfaces can extend additional interfaces by "implying" them at their definition. Look at the interfaces page for more complete syntax examples.

Clone this wiki locally