Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object Orientedness
- [-3] Style
- no driver class included
- ideally have fewer hard coded values; have the panel class be in charge of
- knowing the size/properties of the window and the object classes only be
- passed the information as needed
- need to comment the purpose of all instance data
- PlayerXX
- ObstaclePanelXX
- paintComponent
- [-1] Button Listeners
- moved up to the walls of the space rather than just not moving if would
- leave playing field
- TargetXX
- [-9] collides method
- [10] logic for all directions
- no collides method in Player class - attempt coded into Panel class
- conditions incorrect - requires a perfect alignment and not just overlap
- in y-axis
- [-3] Collision detection with target
- no code to prevent further moves after a win
- BlockersXX
- [-2] Collision detection with blocker
- same collision detection issues as with target
- Additional blockers
- Same collision issues as above
- [-6] Horizontal movement of blockers
- not attempted
- [-5] Bouncing blockers
- not attempted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement