Last change
on this file since 00c432c was 1a1e8c7, checked in by dportnoy <devnull@…>, 14 years ago |
Added a basic draw function to Unit and made some other minor code changes.
|
-
Property mode
set to
100644
|
File size:
710 bytes
|
Rev | Line | |
---|
[abe7b3d] | 1 | package com.medievaltech.game;
|
---|
[a0f5455] | 2 |
|
---|
| 3 | import java.util.List;
|
---|
| 4 |
|
---|
[1a1e8c7] | 5 | import android.graphics.Paint;
|
---|
[a0f5455] | 6 | import android.graphics.Point;
|
---|
| 7 |
|
---|
| 8 | public class Soldier extends Unit{
|
---|
[1a1e8c7] | 9 | public Soldier(Paint p) {
|
---|
| 10 | super(p);
|
---|
| 11 | }
|
---|
| 12 |
|
---|
[a0f5455] | 13 | @Override
|
---|
| 14 | public boolean move(Point point) {
|
---|
| 15 | // TODO Auto-generated method stub
|
---|
| 16 | return false;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | @Override
|
---|
| 20 | public boolean attack(Point point) {
|
---|
| 21 | // TODO Auto-generated method stub
|
---|
| 22 | return false;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | @Override
|
---|
| 26 | public List<Point> getRange() {
|
---|
| 27 | // TODO Auto-generated method stub
|
---|
| 28 | return null;
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | @Override
|
---|
| 32 | public void die()
|
---|
| 33 | {
|
---|
| 34 |
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | @Override
|
---|
| 38 | public List<Point> getAttackRange() {
|
---|
| 39 | // TODO Auto-generated method stub
|
---|
| 40 | return null;
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.