坦克大战结构图
2018-01-18 18:16:37 2 举报
坦克大战结构图
作者其他创作
大纲/内容
gameFrame
controlPanelgamePanel
gameFrame()
ironwall
未完成
bullet
positiondirectioninpanel
move()get.setposition()setdirexxtion()
Tank
positionimagedirectinpanel
move()getposition()getdirection()setdirection()move()get.setimage()fire()
摧毁
map
cobwalllistgrasswallironwall
returncobwalllist()returngrasswalllist()returnironwalllist()madecobwall()madegrasswall()madeironwall()
包含
继承
enemybullet
impact()
p1tank
nowdirectioninpanelhp
recet()gethp()
cobwall
controlpanel
peoplechooselevelchoosemapchoosepoursegameButtonbegaingameButtonstopgameButton
setbuttonPosition()add
map1
map1()
p1bullet
home
positionimage
get.setposition()get.setimage()
gamepanel
mapplayertanklistenemytanklistplayerbulletlistenemytanklistbulletRunThreadenemyTankRunThreadplayerTankRunThreadpaintThreadmakeEnemyTankThreadtankp1tankp2home
threadsCover()threadsPause()paintwall()paintHome()paintBullet()paintTank()paintComponent()
wall
imageposition
set.getimage()set.getposition()
enemyNomalTank
nowdirectioninpanelfireflagdirectionchangeflag
grasswall
0 条评论
下一页