Changes in / [7f693b4:ece634d] in advance-wars


Ignore:
Location:
src/com/example
Files:
2 deleted
1 edited

Legend:

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

    r7f693b4 rece634d  
    11package com.example.advancewars;
    22
    3 import com.example.game.Unit;
     3import com.example.gui.GUIObject;
    44
    55import android.graphics.Canvas;
    66import android.graphics.Color;
    77import android.graphics.Paint;
    8 import android.graphics.Point;
    98
    109public class Tile {
    11         public enum TerrainType
    12         {
    13                 LAND, SEA
    14         }
    15        
    16         TerrainType type;
    17         public double moveCoefficent;
    18         public Unit currentUnit;
    19         public Point point;
    20        
    21         public void addUnit(Unit unit)
    22         {
    23                 currentUnit = unit;     
    24         }
    25        
    26         public void removeUnit(Unit unit)
    27         {
    28                 if(currentUnit != null)
    29                 {
    30                         currentUnit = null;
    31                 }
    32        
    33         }
    3410        private Paint p;
    3511       
Note: See TracChangeset for help on using the changeset viewer.