Changeset 78d3c6f in advance-wars for src/com/medievaltech/game/Soldier.java


Ignore:
Timestamp:
Feb 5, 2011, 11:01:49 PM (14 years ago)
Author:
aluthra <devnull@…>
Branches:
master
Children:
b23048f
Parents:
b97a618
Message:

Minor changes to Unit and Soldier constructors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/medievaltech/game/Soldier.java

    rb97a618 r78d3c6f  
    77
    88public class Soldier extends Unit{
    9         public Soldier(Paint p) {
     9        public Soldier(Paint p)
     10        {
    1011                super(p);
    1112               
    1213                move = 2;
     14               
     15                type = Type.LAND;
     16                minAttackRange = 1;
     17                maxAttackRange = 1;
    1318        }
    1419       
Note: See TracChangeset for help on using the changeset viewer.