Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IronSpiderMan/TankWar
/ functions
Functions
36 in github.com/IronSpiderMan/TankWar
⨍
Functions
36
◇
Types & classes
8
↓ 11 callers
Method
kill
(self)
sprites.py:155
↓ 8 callers
Method
update
(self)
sprites.py:150
↓ 5 callers
Method
__init__
(self, image_name, screen)
sprites.py:129
↓ 3 callers
Method
random_turn
(self)
sprites.py:170
↓ 2 callers
Method
__game_over
()
tank_war.py:202
↓ 2 callers
Method
move_out_wall
(self, wall)
sprites.py:83
↓ 2 callers
Method
shot
射击类,坦克调用该类发射子弹 :return:
sprites.py:50
↓ 1 callers
Method
__check_collide
(self)
tank_war.py:116
↓ 1 callers
Method
__check_keydown
检查按下按钮的事件
tank_war.py:61
↓ 1 callers
Method
__check_keyup
检查松开按钮的事件
tank_war.py:87
↓ 1 callers
Method
__create_sprite
(self)
tank_war.py:26
↓ 1 callers
Method
__draw_map
绘制地图 :return:
tank_war.py:38
↓ 1 callers
Method
__event_handler
(self)
tank_war.py:106
↓ 1 callers
Method
__init_game
初始化游戏的一些设置 :return:
tank_war.py:17
↓ 1 callers
Method
__remove_sprites
移除无用的子弹 :return:
sprites.py:93
↓ 1 callers
Method
__turn
(self)
sprites.py:140
↓ 1 callers
Method
__update_sprites
(self)
tank_war.py:170
↓ 1 callers
Method
boom
(self)
sprites.py:221
↓ 1 callers
Function
func
()
tools/auto_draw_map.py:64
↓ 1 callers
Method
hit_wall
(self)
sprites.py:143
↓ 1 callers
Method
hit_wall_turn
(self)
sprites.py:184
↓ 1 callers
Method
random_shot
(self)
sprites.py:179
↓ 1 callers
Method
run_game
(self)
tank_war.py:184
Method
__init__
(self, image_name, screen)
sprites.py:12
Method
__init__
(self, image_name, screen)
sprites.py:34
Method
__init__
(self, image_name, screen)
sprites.py:43
Method
__init__
(self, image_name, screen)
sprites.py:162
Method
__init__
(self, image_name, screen)
sprites.py:213
Method
__init__
(self)
tank_war.py:7
Method
boom
(self)
sprites.py:111
Method
kill
(self)
sprites.py:121
Method
kill
(self)
sprites.py:231
Method
update
(self)
sprites.py:20
Method
update
(self)
sprites.py:106
Method
update
(self)
sprites.py:201
Method
update
(self)
sprites.py:218