source:
advance-wars/src/com/medievaltech/game/Soldier.java@
b97a618
Last change on this file since b97a618 was ebaddd9, checked in by , 14 years ago | |
---|---|
|
|
File size: 677 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); | |
[ebaddd9] | 11 | |
12 | move = 2; | |
[1a1e8c7] | 13 | } |
14 | ||
[a0f5455] | 15 | @Override |
[a79ce1b] | 16 | public void move(Point point) { |
[a0f5455] | 17 | // TODO Auto-generated method stub |
[a79ce1b] | 18 | |
[a0f5455] | 19 | } |
20 | ||
21 | @Override | |
[a79ce1b] | 22 | public void attack(Point point) { |
[a0f5455] | 23 | // TODO Auto-generated method stub |
[a79ce1b] | 24 | |
[a0f5455] | 25 | } |
26 | ||
27 | @Override | |
[ebaddd9] | 28 | public List<Point> getMovementRange() { |
29 | return super.getMovementRange(); | |
[a0f5455] | 30 | } |
31 | ||
32 | @Override | |
33 | public void die() | |
34 | { | |
35 | ||
36 | } | |
37 | ||
38 | @Override | |
39 | public List<Point> getAttackRange() { | |
40 | // TODO Auto-generated method stub | |
41 | return null; | |
42 | } | |
43 | ||
44 | ||
45 | } |
Note:
See TracBrowser
for help on using the repository browser.