Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
Structuring a computer program as a system of interacting objects- is a definition of what? |
Object Oriented Design |
|
An Event Driven Architecture is: |
A significant change in state In an event driven architecture, the computer program is movedforward by the production, detection and reaction to events. |
|
Creation Events are in response to some user action and: |
create events for each instance instance creation code game start event room creation code room start event of all instances |
|
The steps of Draw events are: |
Pre Draw Event Draw Begin Event Draw Event Draw End Event Post Draw Event Draw GUI Begin Event Draw GUI Event Draw GUI End Event |
|
Describe Object and Instance: |
Object: blueprint for house Instance: house created from blueprint an instance is a realization of an object. |
|
A Variable is: |
A variable is a storage location in memory which is accessed via anidentifier or symbolic name. Scope=who can see the data |
|
An Instance Variable – can only be seen by instance Each instance has its own copy of this data Modifying an instance variable for one instance will not affectother instances what are some built-in ones? |
direction speen x y |
|
once set can be seen by any instance Remains in memory until the end of the game- this is what? |
A Global Variable |
|
Some built in Global variables: |
score health lives room_width room_height mouse_x mouse_y |
|
// Assign 100 to the variable x x = 100 // ... expression that evaluates to truex is greater than 0 // Use logical statement to control behaviourif x is greater than 0, do something ... This an example of what? |
Boolean Logic |
|
Other control actions are: |
Else Repeats Test Chance Question Expression |