Skip to content

Commit

Permalink
Release 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niks_nixac committed Aug 3, 2016
1 parent c2580d9 commit 57f6729
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configurations.create("default")
artifacts.add("default", file('r-plugin-greedy-android-156.aar'))
artifacts.add("default", file('r-plugin-greedy-android-160.aar'))
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion sample-game/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import android.widget.TextView;

import com.greedygame.android.agent.GreedyGameAgent;
import com.greedygame.android.agent.IActionListener;
import com.greedygame.android.agent.IAgentListener;


Expand Down Expand Up @@ -41,11 +42,6 @@ public void onPermissionsUnavailable(ArrayList<String> arg0) {

}

@Override
public void onActionPerformed(String s, String s1) {

}

@Override
public void onAvailable() {
// TODO Auto-generated method stub
Expand All @@ -58,7 +54,15 @@ public void onUnavailable() {
runOnUiThread(updateText);
}
}



class ActionListener implements IActionListener {

@Override
public boolean onActionPerformed(String s, String s1) {
return false;
}
}

@Override
public void onCreate(Bundle savedInstanceState)
Expand Down Expand Up @@ -92,6 +96,7 @@ public void run()
};

ggAgent = GreedyGameAgent.install(this, new GG_Listener());
ggAgent.setActionListener(new ActionListener());
ggAgent.setDebugCampaign(this,false);
ggAgent.init();

Expand Down

0 comments on commit 57f6729

Please sign in to comment.