project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/LocalRoomActivity.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Hedgewars, a free turn based strategy game |
2 * Hedgewars for Android. An Android port of Hedgewars, a free turn based strategy game |
3 * Copyright (C) 2012 Simeon Maxein <smaxein@googlemail.com> |
3 * Copyright (C) 2012 Simeon Maxein <smaxein@googlemail.com> |
4 * |
4 * |
5 * This program is free software; you can redistribute it and/or |
5 * This program is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU General Public License |
6 * modify it under the terms of the GNU General Public License |
7 * as published by the Free Software Foundation; either version 2 |
7 * as published by the Free Software Foundation; either version 2 |
39 import android.widget.LinearLayout; |
39 import android.widget.LinearLayout; |
40 import android.widget.TabHost; |
40 import android.widget.TabHost; |
41 import android.widget.Toast; |
41 import android.widget.Toast; |
42 |
42 |
43 /** |
43 /** |
44 * This activity is used to set up a local game. |
44 * This activity is used to set up and start a local game. |
45 */ |
45 */ |
46 public class LocalRoomActivity extends FragmentActivity implements RoomStateManager.Provider, TeamAddDialog.Listener { |
46 public class LocalRoomActivity extends FragmentActivity implements RoomStateManager.Provider, TeamAddDialog.Listener { |
47 private TabHost tabHost; |
47 private TabHost tabHost; |
48 private RoomStateManager stateManager; |
48 private RoomStateManager stateManager; |
49 private Button startButton; |
49 private Button startButton; |