Changeset fea4b77 in advance-wars for src/com/medievaltech/unit/Unit.java


Ignore:
Timestamp:
Jun 6, 2011, 6:07:43 PM (14 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
99433bb
Parents:
b660017
Message:

Implemented turn and support for computer-controller movement of units. Right now, the computer moves a specific unit down one square when its his turn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/medievaltech/unit/Unit.java

    rb660017 rfea4b77  
    22
    33import java.util.*;
     4
    45import android.graphics.*;
    56
    6 public abstract class Unit
    7 {
    8         public enum Type
    9         {
    10                 LAND,SEA,AIR
    11         }
     7import com.medievaltech.advancewars.Enum.*;
    128
     9public abstract class Unit {
    1310        private Paint p;
    1411       
    15         public Type type;
     12        public UnitType type;
    1613        //public Player owner;
    1714       
Note: See TracChangeset for help on using the changeset viewer.