V Phương Bnh – ITFAC - DLU › › › › !"#$ %&'"( › )"'"( V Phương Bnh – ITFAC - DLU * !"#$%&' #()*+,- +. /0 .1 2340.5 06#789:;7$&/1 <="+&2>?@A?/0.B › +),-)./#$ #$(01 ..)2"3454"4#6 7("89: › +)01.) ;<=" #67(>"8'"(9: V Phương Bnh – ITFAC - DLU 2-8CD 2-EFD 1EGHH+I+IFJ 1KLEI+I+AEF+@EFFJ 1EGHH+GHH+GHHFJ 1M!E?@AN?+I+I+1OP; Q1RSOFJ T T V Phương Bnh – ITFAC - DLU 2-88C89:D 2-88EFD T 2-UEFD VM8EFJ :V:1:EFJ 12EFJ T 2-2UEFD T 2-UE-2FD T T V Phương Bnh – ITFAC - DLU ? W1 › 5@ /"(5"(5A("585(, 2"349 "1(54 B › @ 54(45"043>448"043549 "1(54 C V Phương Bnh – ITFAC - DLU D 2-MyCanvas extends Canvas implements CommandListenerD RCJ !XOCV2J 88J 2-8E88 F D 1VJ RCVM E?RC?+ 1R9O+YFJ ERCFJ EFJ T V Phương Bnh – ITFAC - DLU E /"(5""8'"(9B :4558*??,*??,*??9F :GH4(8,,4I"89,4J4"899F "K8043L4MNO/9B :4558,,9F g.drawString(keyText, getWidth()/2, getHeight()/2, Graphics.TOP | Graphics.HCENTER); C C /"(5"(5A("585, 2"349B "K8OO(PM"9 B "4:453A8K49F "4:5"K32453489F C C 54(45"043>448" 043549 B 043L4MO 4Q43R48043549F repaint(); C C V Phương Bnh – ITFAC - DLU 'YBZ([\EF 'GB › L=5 !"#$"4(S #$( 8T/49: › +U3 !"#$'"((V"4@ 2-EFJ V Phương Bnh – ITFAC - DLU W 80.X6#4 2 V Phương Bnh – ITFAC - DLU [...]... IntroCanvas introCanvas = new IntroCanvas(display,gameCanvas,3000); introCanvas.startIntro(); } } protected void pauseApp() {} protected void destroyApp(boolean arg0) throws MIDletStateChangeException {} } Võ Phương Bình – ITFAC - DLU 08/13/14 17 Võ Phương Bình – ITFAC - DLU 08/13/14 18 Lớp Setting Lớp HighCore Lớp Help Lớp About Lớp xử lý menu chính Võ Phương Bình... timer = new Timer(); public IntroCanvas(Display display, Displayable nextScreen, int timeout) { this.display = display; this.nextScreen = nextScreen; this.timeout = timeout; } public void startIntro(){ display.setCurrent(this); } public void endIntro(){ display.setCurrent(nextScreen); } Võ Phương Bình – ITFAC - DLU protected void paint(Graphics g) { try . display; this.nextScreen = nextScreen; this.timeout = timeout; T public void startIntro(){ 12Ethis); T public void endIntro(){ 12EC!FJ T V