Changeset abe7b3d in advance-wars for src/com/medievaltech/advancewars
- Timestamp:
- Jan 31, 2011, 10:38:14 PM (14 years ago)
- Branches:
- master
- Children:
- 1a1e8c7
- Parents:
- 54e0965
- Location:
- src/com/medievaltech/advancewars
- Files:
-
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
src/com/medievaltech/advancewars/AppState.java
r54e0965 rabe7b3d 1 package com. example.advancewars;1 package com.medievaltech.advancewars; 2 2 3 3 public enum AppState { -
src/com/medievaltech/advancewars/Game.java
r54e0965 rabe7b3d 1 package com. example.advancewars;1 package com.medievaltech.advancewars; 2 2 3 import com.example.advancewars.R; 4 import com.example.advancewars.GameView; 5 import com.example.advancewars.GameView.DrawingThread; 3 import com.medievaltech.advancewars.R; 4 import com.medievaltech.advancewars.GameView; 5 import com.medievaltech.advancewars.GameView.DrawingThread; 6 6 7 import android.app.Activity; 7 8 import android.os.Bundle; … … 11 12 import android.view.Window; 12 13 import android.widget.TextView; 13 import java.io.*;14 14 15 15 public class Game extends Activity { -
src/com/medievaltech/advancewars/GameState.java
r54e0965 rabe7b3d 1 package com. example.advancewars;1 package com.medievaltech.advancewars; 2 2 3 3 public enum GameState { -
src/com/medievaltech/advancewars/GameView.java
r54e0965 rabe7b3d 1 package com.example.advancewars; 2 3 import java.util.*; 4 5 import com.example.gui.*; 1 package com.medievaltech.advancewars; 2 3 import com.medievaltech.gui.*; 6 4 7 5 import android.content.Context; … … 59 57 private SurfaceHolder mSurfaceHolder; 60 58 61 private com. example.gui.Window wndMainMenu, wndBattleMap;59 private com.medievaltech.gui.Window wndMainMenu, wndBattleMap; 62 60 63 61 public DrawingThread(SurfaceHolder surfaceHolder, Context context, Handler handler) { … … 91 89 mTilePaint2.setARGB(255, 0, 0, 255); 92 90 93 wndMainMenu = new com. example.gui.Window(0, 0, 320, 450);;91 wndMainMenu = new com.medievaltech.gui.Window(0, 0, 320, 450);; 94 92 wndMainMenu.addGUIObject("txtTitle", new Text("Main Menu", 100, 30, 120, 20, mTextPaint)); 95 93 wndMainMenu.addGUIObject("btnNewGame", new Button("New Game", 100, 90, 120, 20, mLinePaint, mButtonPaint)); -
src/com/medievaltech/advancewars/Map.java
r54e0965 rabe7b3d 1 package com. example.advancewars;1 package com.medievaltech.advancewars; 2 2 3 3 import android.graphics.Canvas; -
src/com/medievaltech/advancewars/Tile.java
r54e0965 rabe7b3d 1 package com. example.advancewars;1 package com.medievaltech.advancewars; 2 2 3 import com. example.game.Unit;3 import com.medievaltech.game.Unit; 4 4 5 5 import android.graphics.Canvas; 6 import android.graphics.Color;7 6 import android.graphics.Paint; 8 7 import android.graphics.Point;
Note:
See TracChangeset
for help on using the changeset viewer.