COMPSCI 1JC3 Lecture 7: Comp Sci 1jC3 sep 21 lecture
Document Summary
Arrow: it shows you that an input goes into an output. To make a circle must define the radius. There are two types of numbers, you have cold numbers which are ints, and numbers with fractions that are floats: can"t represent all real numbers. For example can"t have square root of 2, only can have approximations. Two arrows, means two parameters, for example an oval, has two parameters, width and height. Stencil is a primitive template representing the eventual shape you wish to draw: stencil is a form that makes a shape. The click of red or blue is a transition not a state. Also have to keep track of left and right movement. Main tells you what function should run when you compile the code: it"s the main function. Use gameapp to create interactive layered games. Tick is a function that is a constructor.