Changeset 113d7cf in advance-wars for src/com/medievaltech/advancewars/Tile.java


Ignore:
Timestamp:
May 9, 2011, 6:23:05 PM (13 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
bdd63ba
Parents:
ae564dc
Message:

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)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/com/medievaltech/advancewars/Tile.java

    rae564dc r113d7cf  
    1 package com.medievaltech.game;
     1package com.medievaltech.advancewars;
     2
     3import com.medievaltech.unit.Unit;
    24
    35import android.graphics.Canvas;
     
    1719        private Paint p;
    1820       
    19         public Tile(Paint p) {
     21        public Tile(Paint p, TerrainType type) {
    2022                this.p = p;
     23                this.type = type;
    2124                this.currentUnit = null;
    2225        }
Note: See TracChangeset for help on using the changeset viewer.