source: advance-wars/src/com/medievaltech/unit/SmTank.java@ bdd63ba

Last change on this file since bdd63ba was 113d7cf, checked in by dportnoy <devnull@…>, 13 years ago

Implemented saving/loading of the map and the units on it. Also did some package refactoring (renamed com.medievaltech.game to com.medievaltech.unit and moved some classes into com.medievaltech.advancewars)

  • Property mode set to 100644
File size: 749 bytes
RevLine 
[113d7cf]1package com.medievaltech.unit;
[b23048f]2
3import java.util.List;
4
5import android.graphics.Paint;
6import android.graphics.Point;
7
8public class SmTank extends Unit{
9 public SmTank(Paint p)
10 {
11 super(p);
12
13 move = 7;
14
15 type = Type.LAND;
16 minAttackRange = 1;
17 maxAttackRange = 1;
18 }
19
20 @Override
21 public void move(Point point) {
22 // TODO Auto-generated method stub
23
24 }
25
26 @Override
27 public void attack(Point point) {
28 // TODO Auto-generated method stub
29
30 }
31
32 @Override
33 public List<Point> getMovementRange() {
34 return super.getMovementRange();
35 }
36
37 @Override
38 public void die()
39 {
40
41 }
42
43 @Override
44 public List<Point> getAttackRange() {
45 // TODO Auto-generated method stub
46 return null;
47 }
48
49
50}
Note: See TracBrowser for help on using the repository browser.