append-method-definition
public
Type: paint
add-argument-type-graphics
Type: _g
Instead of this, you could have said:
override-paint
insert-in-block-if-test
field-off-screen-is-equal-to-null-constant
select != group by moving mouse
logical-or
field-off-screen-get-width-is-not-equal-to-method-get-width
select != group by moving mouse
logical-or
field-off-screen-get-height-is-not-equal-to-method-get-height
insert-in-block-executable
field-off-screen-assignment
method-create-image
two-arguments
method-get-width-next-argument-method-get-height
select entire rhs by moving mouse
type-cast-type-buffered-image
insert-in-block-variable-declaration
type-graphics-2-d
Type: g
initialize
field-off-screen-get-graphics
type-cast-type-graphics-2-d
We are going to initialize the size parameters. Alot
of these statements are rather long because the expert
Happy Hands user tries to save time by saying as much as possible.
You can insert pauses if you like.
append-executable
field-top-level-assignment-integer-fifteen
append-executable
field-ground-level-assignment-method-get-height-subtraction-integer-ten
append-executable
field-left-pole-assignment-integer-twenty
append-executable
field-brace-size-assignment-integer-sixty
append-executable
field-body-center-assignment-method-get-width-division-integer-two
append-executable
field-leg-top-assignment
method-get-height-multiplication
floating-point-zero-point-six
Move selection to contain getHeight()*0.6f
type-cast-type-integer
append-executable
field-leg-size-assignment-integer-one-hundred-and-twenty
append-executable
field-body-top-assignment
method-get-height
multiplication-floating-point-point-three
type-cast-type-integer
append-executable
field-arm-size-assignment-integer-one-hundred
append-executable
field-head-size-assignment-integer-eighty
append-executable
field-neck-size-assignment-integer-forty
append-executable
field-eye-size-assignment-integer-fifty
append-if-test
field-game-b-winner
insert-in-block-executable
variable-graphics-set-color
type-color-choose-member
select-field-white
append-else-if-test
field-game-mistake-count-is-greater-than
integer-nine
insert-in-block-executable
variable-graphics-set-color
new-type-color
three-arguments
sequence-integer-two-hundered-fifty-five-integer-one-hundered-ninety-five-integer-one-hundered-ninety-five
append-else-block
insert-in-block-executable
variable-graphics-set-color
new-type-color
three-arguments
sequence-integer-one-hundered-ninety-five-integer-one-hundered-ninety-five-integer-one-hundered-ninety-five
append-executable
variable-graphics-choose-member
select-method-fill-rectangle
four-arguments
integer-zero
integer-zero
method-get-width
method-get-height
append-executable
field-i-color-assignment-integer-zero
append-if-test
field-game-b-winner
insert-in-block-executable
method-draw-winner-variable-graphics
append-else-block
insert-in-block-executable
method-draw-hangman-variable-graphics
append-executable
variable-underscore-g
choose-member
select-method-draw-image
four-arguments
field-off-screen
integer-zero
integer-zero
this-object
|