|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp_models.PaddleMVC
public class PaddleMVC
A first step in building a java game where a paddle constantly moves horizontally at the
bottom of a 2-D screen and its direction is changed/controlled by keyboard presses
For teaching MVC design pattern, and introducing Java threads:
RunnableViewablePaddle
PaddleView
PaddleController
Constructor Summary | |
---|---|
PaddleMVC()
|
Method Summary | |
---|---|
void |
startgame()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaddleMVC()
Method Detail |
---|
public void startgame()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |