This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-Tanks
mirror of
https://github.com/jrtechs/Tanks.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
creation of the Enemy class
pull/1/head
jrtechs
8 years ago
parent
1e7e6955ef
commit
9c90c7cd08
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
src/tanks/Enemy.java
+ 12
- 0
src/tanks/Enemy.java
View File
@ -0,0 +1,12 @@
/
*
super
class
for
any
enemy
in
the
game
a
enemy
can
spawn
at
a
random
location
along
the
border
of
the
map
a
enemy
can
also
calculate
the
distance
and
angle
to
the
player
*
/
package
tanks
;
public
class
Enemy
extends
Living
{
}
Write
Preview
Loading…
Cancel
Save