Changeset 379005b in advance-wars
- Timestamp:
- Jun 6, 2011, 4:40:18 PM (13 years ago)
- Branches:
- master
- Children:
- b660017
- Parents:
- bdd63ba
- Location:
- src/com/medievaltech/advancewars
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/medievaltech/advancewars/Game.java
rbdd63ba r379005b 2 2 3 3 import java.io.*; 4 5 import com.medievaltech.advancewars.GameView.DrawingThread;6 4 7 5 import android.app.Activity; … … 13 11 import android.widget.TextView; 14 12 13 import com.medievaltech.advancewars.GameView.*; 14 import com.medievaltech.advancewars.Enum.*; 15 15 16 public class Game extends Activity { 16 17 private static final int MENU_SAVE = 1; 17 18 private static final int MENU_MAIN = 2; 18 19 private static final int MENU_EXIT = 3; 19 20 public enum State{BUST, ACTIVE, DOUBLEDOWN};21 20 22 21 /** A handle to the thread that's actually running the animation. */ -
src/com/medievaltech/advancewars/GameView.java
rbdd63ba r379005b 3 3 import java.io.*; 4 4 5 import com.medievaltech.advancewars. Tile.TerrainType;5 import com.medievaltech.advancewars.Enum.*; 6 6 import com.medievaltech.unit.*; 7 7 import com.medievaltech.gui.*; … … 20 20 public AppState mAppState; 21 21 public GameState mGameState; 22 23 /*24 * UI constants (i.e. the speed & fuel bars)25 */26 public static final int UI_BAR = 100; // width of the bar(s)27 public static final int UI_BAR_HEIGHT = 10; // height of the bar(s)28 22 29 23 /* -
src/com/medievaltech/advancewars/Map.java
rbdd63ba r379005b 3 3 import java.io.*; 4 4 5 import android.graphics.*; 6 5 7 import com.medievaltech.unit.Unit; 6 7 8 import android.graphics.*;9 8 10 9 public class Map { -
src/com/medievaltech/advancewars/Tile.java
rbdd63ba r379005b 1 1 package com.medievaltech.advancewars; 2 3 import com.medievaltech.unit.Unit;4 2 5 3 import android.graphics.Canvas; … … 7 5 import android.graphics.Point; 8 6 7 import com.medievaltech.unit.*; 8 import com.medievaltech.advancewars.Enum.*; 9 9 10 public class Tile { 10 public enum TerrainType11 {12 LAND, SEA13 }14 15 11 TerrainType type; 16 12 public double moveCoefficent;
Note:
See TracChangeset
for help on using the changeset viewer.