Skip to content

Commit

Permalink
Create a new package for fragments.
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarthel-fr committed Aug 15, 2013
1 parent 63eb650 commit c78bff4
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import fr.tvbarthel.games.chasewhisply.model.GameInformationFactory;
import fr.tvbarthel.games.chasewhisply.model.GameMode;
import fr.tvbarthel.games.chasewhisply.model.GameModeFactory;
import fr.tvbarthel.games.chasewhisply.ui.GameScoreFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.GameScoreFragment;
import fr.tvbarthel.games.chasewhisply.ui.GameView;

public class GameActivity extends ARActivity implements GameEngine.IGameEngine,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
import fr.tvbarthel.games.chasewhisply.model.GameInformation;
import fr.tvbarthel.games.chasewhisply.model.GameMode;
import fr.tvbarthel.games.chasewhisply.model.Weapon;
import fr.tvbarthel.games.chasewhisply.ui.AboutFragment;
import fr.tvbarthel.games.chasewhisply.ui.GameHomeFragment;
import fr.tvbarthel.games.chasewhisply.ui.GameModeChooserFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.AboutFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.GameHomeFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.GameModeChooserFragment;
import fr.tvbarthel.games.chasewhisply.ui.GameModeView;
import fr.tvbarthel.games.chasewhisply.ui.GameScoreFragment;
import fr.tvbarthel.games.chasewhisply.ui.LeaderboardChooserFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.GameScoreFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.LeaderboardChooserFragment;

public class HomeActivity extends BaseGameActivity implements GameHomeFragment.Listener, GameScoreFragment.Listener, GameModeChooserFragment.Listener, LeaderboardChooserFragment.Listener {
//Request code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import android.widget.TextView;
import android.widget.ViewSwitcher;

import fr.tvbarthel.games.chasewhisply.ui.TutoFragment;
import fr.tvbarthel.games.chasewhisply.ui.fragments.TutoFragment;

public class TutoActivity extends FragmentActivity implements ViewSwitcher.ViewFactory {
public static final String EXTRA_HELP_REQUESTED = "ExtraHelpRequested";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;

import android.os.Bundle;
import android.support.v4.app.Fragment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;

import android.app.Activity;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;

import android.app.Activity;
import android.os.Bundle;
Expand All @@ -9,6 +9,7 @@

import fr.tvbarthel.games.chasewhisply.R;
import fr.tvbarthel.games.chasewhisply.model.GameModeFactory;
import fr.tvbarthel.games.chasewhisply.ui.GameModeView;


public class GameModeChooserFragment extends Fragment implements View.OnClickListener {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;


import android.app.Activity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;

import android.app.Activity;
import android.os.Bundle;
Expand All @@ -9,6 +9,7 @@

import fr.tvbarthel.games.chasewhisply.R;
import fr.tvbarthel.games.chasewhisply.model.GameModeFactory;
import fr.tvbarthel.games.chasewhisply.ui.GameModeView;

public class LeaderboardChooserFragment extends Fragment implements View.OnClickListener {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package fr.tvbarthel.games.chasewhisply.ui;
package fr.tvbarthel.games.chasewhisply.ui.fragments;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import fr.tvbarthel.games.chasewhisply.R;

public class TutoFragment extends Fragment {
public static final String ARG_LAYOUT_ID = "Tuto_Layout_Id_ARG";
Expand Down

0 comments on commit c78bff4

Please sign in to comment.