Hero private int health move intHealth void updateHealth void shoot int jump
description
Transcript of Hero private int health move intHealth void updateHealth void shoot int jump
Hero
• private int health
• move
• intHealth
• void updateHealth
• void shoot
• int jump
• void applyGravity
• void switch images
• void change images
• void canSee (good and bad)
• void wavePower
• setLocation
• intSpeed
• remove object
• int vertical speed
• int acceleration
• removeObject
Mover (smooth mover)
• move
•void applyGravity
•remove object
• int vertical speed
• int acceleration
• canSee
Jimmy Dinh /Jay Kanazawa
Wolf
• int health
• gravity (apply forces)
• switch images
• change images
Spider
•int health
• gravity (apply forces)
• switch images
• change images
Spiky Ball
• move
•can see (good)
• set location
• speed
• remove object
• int damage
• void getMovement
Bad Guy
• move
• void canSee (good)
• set location
• speed
• remove object
•Int damage
•void randomMovement
Rollie
• int health
• jump
• gravity (apply forces)
• switch images
• change images
Mover(smooth mover)
Beam
Wave
•void grow
• int radius
• switch images
Attack
• int damage
• int vectorSpeed
• int reload
• void checkBadGuy
Stick World
• addObject (hero, bad guys, apple, platforms)
• int level
• populateWorld (Level 1)
• populateWorld (Level 2)
• populateWorld (Level 3)
• populateWorld (Level 4, boss)
• deleteEverything
• createTitleScreen
• createInstructions
• createCredit
• createWin
• createLose
• private String keyName
• private String doorName
Ground
Groundsmall
GroundLarge
Groundmedium
Floating
• getMovement(up down, left right)
Spikes
• int eaten
• int counter
Door
• private String name
Key
• private String name
Apple
• int giveHealth
Separate Actors
Counter
• value
• text
• stringLength
• counter
• subtract health
• getHealth