Changeset fea4b77 in advance-wars for src/com/medievaltech/unit
- Timestamp:
- Jun 6, 2011, 6:07:43 PM (14 years ago)
- Branches:
- master
- Children:
- 99433bb
- Parents:
- b660017
- Location:
- src/com/medievaltech/unit
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/medievaltech/unit/Artillery.java
rb660017 rfea4b77 5 5 import android.graphics.Paint; 6 6 import android.graphics.Point; 7 8 import com.medievaltech.advancewars.Enum.*; 7 9 8 10 public class Artillery extends Unit{ … … 13 15 move = 3; 14 16 15 type = Type.LAND;17 type = UnitType.LAND; 16 18 minAttackRange = 2; 17 19 maxAttackRange = 4; -
src/com/medievaltech/unit/Mech.java
rb660017 rfea4b77 5 5 import android.graphics.Paint; 6 6 import android.graphics.Point; 7 8 import com.medievaltech.advancewars.Enum.*; 7 9 8 10 public class Mech extends Unit{ … … 13 15 move = 2; 14 16 15 type = Type.LAND;17 type = UnitType.LAND; 16 18 minAttackRange = 1; 17 19 maxAttackRange = 1; -
src/com/medievaltech/unit/Recon.java
rb660017 rfea4b77 5 5 import android.graphics.Paint; 6 6 import android.graphics.Point; 7 8 import com.medievaltech.advancewars.Enum.*; 7 9 8 10 public class Recon extends Unit{ … … 13 15 move = 8; 14 16 15 type = Type.LAND;17 type = UnitType.LAND; 16 18 minAttackRange = 1; 17 19 maxAttackRange = 1; -
src/com/medievaltech/unit/SmTank.java
rb660017 rfea4b77 5 5 import android.graphics.Paint; 6 6 import android.graphics.Point; 7 8 import com.medievaltech.advancewars.Enum.*; 7 9 8 10 public class SmTank extends Unit{ … … 13 15 move = 7; 14 16 15 type = Type.LAND;17 type = UnitType.LAND; 16 18 minAttackRange = 1; 17 19 maxAttackRange = 1; -
src/com/medievaltech/unit/Soldier.java
rb660017 rfea4b77 5 5 import android.graphics.Paint; 6 6 import android.graphics.Point; 7 8 import com.medievaltech.advancewars.Enum.*; 7 9 8 10 public class Soldier extends Unit{ … … 13 15 move = 3; 14 16 15 type = Type.LAND;17 type = UnitType.LAND; 16 18 minAttackRange = 1; 17 19 maxAttackRange = 1; -
src/com/medievaltech/unit/Unit.java
rb660017 rfea4b77 2 2 3 3 import java.util.*; 4 4 5 import android.graphics.*; 5 6 6 public abstract class Unit 7 { 8 public enum Type 9 { 10 LAND,SEA,AIR 11 } 7 import com.medievaltech.advancewars.Enum.*; 12 8 9 public abstract class Unit { 13 10 private Paint p; 14 11 15 public Type type;12 public UnitType type; 16 13 //public Player owner; 17 14
Note:
See TracChangeset
for help on using the changeset viewer.