text
stringlengths
3
1.18M
package com.agenda; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class BaseDatos extends SQLiteOpenHelper { private static final String DATABASE_NAME = "Agenda"; private static final int DA...
package com.agenda; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.Toast; import android.app.Activity; public class OpcionesAdmin extends Activity { /** Called when the activity is first created. */ @Override publi...
package com.agenda; import java.io.File; import java.util.ArrayList; import java.util.List; import android.os.Bundle; import android.os.Environment; import android.app.AlertDialog; import android.app.ListActivity; import android.content.Intent; import android.view.View; import android.widget.ArrayAdapter;...
package com.agenda; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import android.app.Activity; import android.database...
package com.agenda; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import android.app.Activity; import android.content.Intent; import android.database.Cur...
package com.agenda; import com.agenda.R.id; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import android.app.Activity; import android.content.Intent; impo...
package com.agenda; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; public class DBAdapter { //Campos de la BD public static final String KEY_USER_ROWID = "_id"; p...
package com.agenda; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.Toast; import android.app.Activity; public class Borrar extends Activity { /** Called when the activity is first created. */ ...
package com.agenda; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.view.Window; import android.widget.TabHost; @SuppressWarnings("deprecation") public class OpcionesTab extends TabActivity { /** Called when th...
package com.agenda; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.Toast; import android.annotation.SuppressLint; import android.app.Activity; import android.con...
package com.agenda; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.Toast; import android.app.Activity; public class Editar extends Activity { /** Called when the activity is first created. */ @Override public void ...
/** Automatically generated file. DO NOT MODIFY */ package com.agenda; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.emergency.button; import android.app.PendingIntent; import android.app.Service; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import android.widget.RemoteViews; ...
package com.emergency.button; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.content.SharedPreferences; public class EmergencyData { Context mContext; SharedPreferences mSettings; public static final String PREFS_NAME = "EmergencyPrefsFile"; p...
package com.emergency.button; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; public class Utils ...
package com.emergency.button; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import com.emergency.button.SMSSender.SMSListener; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; ...
package com.emergency.button; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class IntroActivity ex...
package com.emergency.button; import java.util.ArrayList; import java.util.concurrent.atomic.AtomicInteger; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFil...
package com.emergency.button; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.Re...
/** * Locator is a class which allows getting a location with minimum requirements * of age and accuracy. There is also a timer which fires after 20 seconds and * uses the best location that was found until now. After a location is sent * the locator class auto unregisters. * */ package com.emergency.bu...
package com.emergency.button; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import com.nullwire.trace.ExceptionHandler; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.ContentResolver; import android.content.Context; impo...
/* Copyright (c) 2009 nullwire aps Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
/* Copyright (c) 2009 nullwire aps Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, su...
/* Copyright (c) 2009 nullwire aps Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
/** * */ package jspbook.ch07; /** * @author xxaaa * */ public class LoginBean { private String userid; private String passwd; final String _userid="myuser"; final String _passwd="1234"; public boolean checkUser(){ if(userid.equals(_userid)&&passwd.equals(_pass...
/*** * Copyright (c) 2011 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2011 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2011 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2011 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2011 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2010 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2010 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2010 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/** Automatically generated file. DO NOT MODIFY */ package mapviewballoons.example; public final class BuildConfig { public final static boolean DEBUG = true; }
/*** * Copyright (c) 2010 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
/*** * Copyright (c) 2010 readyState Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
package com.readystatesoftware.maps; import android.content.Context; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.GestureDetector.OnDoubleTapListener; import android.view.GestureDetector.OnGestureListener; import android.view.MotionEvent; import com.google.androi...
package com.readystatesoftware.maps; import android.view.MotionEvent; public interface OnSingleTapListener { public boolean onSingleTap(MotionEvent e); }
package angels.client.Services; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import angels.client.Entities.Business; import angels.client.Listeners.BusinessListen...
package angels.client.Services; import java.util.LinkedList; import java.util.List; import java.util.Timer; import java.util.TimerTask; import angels.client.Entities.Categories.Type; import angels.client.Entities.Sharing; import angels.client.Listeners.BroadcastListener; import angels.client.Listeners.MainMe...
package angels.client.Services; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import com.google.android.maps.GeoPoint; import angels.client.Entities.User; imp...
package angels.client.Listeners; import angels.client.Entities.Business; public interface BusinessListener { void onUserInfoReceived(Business user); void onUserInfoSent(); }
package angels.client.Listeners; import angels.client.Entities.Categories; public interface MainMenuListener { void onCategoriesReceived(Categories categories); void onCategoriesReceivedError(); }
package angels.client.Listeners; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.Handler; import android.os.Looper; public class BlockingLocationListener implements LocationListener { final LocationMa...
package angels.client.Listeners; import angels.client.Entities.Sharing; public interface TrafficListener { void onTrafficSampled(Sharing[] robots); }
package angels.client.Listeners; public interface BroadcastListener { void onBroadcastEvent(String msg); }
package angels.client.Listeners; import angels.client.Entities.User; public interface UserListener { void onUserInfoReceived(User user); void onUserInfoSent(); }
package angels.client.Helpers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener;...
package angels.client.Helpers; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import angels.client.R; public class CategoryArray...
package angels.client.Tasks; import java.net.HttpURLConnection; import java.util.TimerTask; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpCo...
package angels.client.Tasks; import java.net.HttpURLConnection; import java.util.TimerTask; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpCo...
package angels.client.Tasks; import java.net.HttpURLConnection; import java.util.TimerTask; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpConnecti...
package angels.client.Tasks; import java.net.HttpURLConnection; import java.util.TimerTask; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpCo...
package angels.client.Tasks; import java.net.HttpURLConnection; import java.util.TimerTask; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.Http...
package angels.client.Tasks; import java.util.TimerTask; import angels.client.Listeners.BlockingLocationListener; import angels.client.Services.BusyHourService; import android.content.Context; import android.location.LocationManager; public class GPSTask extends TimerTask { private final BusyHourService servic...
package angels.client.Entities; import android.location.Location; import com.google.android.maps.GeoPoint; import com.google.android.maps.OverlayItem; public class CustomOverlayItem extends OverlayItem { protected String mImageURL; protected String duration; protected Sharing share; protected int li...
package angels.client.Entities; import org.json.JSONException; import org.json.JSONObject; import com.google.android.maps.GeoPoint; public class User { private String name; private String desc; private GeoPoint coords; private String imageURL; private float rating; public User(JSONObject json_ro...
package angels.client.Entities; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.view.LayoutI...
package angels.client.Entities; import org.json.JSONException; import org.json.JSONObject; import com.google.android.maps.GeoPoint; public class Sharing { private String name; private String desc; private GeoPoint coords; private String bkey; private String ctime; private int likes,dislikes; private...
package angels.client.Entities; import org.json.JSONException; import org.json.JSONObject; import com.google.android.maps.GeoPoint; public class Business { private String name; private String desc; private GeoPoint coords; private String imageURL; private float rating; private String bkey; private S...
package angels.client.Entities; import org.json.JSONException; import org.json.JSONObject; public class Categories { private String[] categories; public enum Type{category,subcategory}; public Categories(JSONObject json_robots, Type type) throws JSONException { switch (type){ case category: c...
package angels.client.Entities; import java.util.ArrayList; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import angels.client.Activities.SharingActivity; import com.google.android.maps.MapView; import com.google.android.maps.OverlayItem; import co...
package angels.client.Activities; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.view.Gravi...
package angels.client.Activities; import com.readystatesoftware.mapviewballoons.R; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.Handler; i...
package angels.client.Activities; import com.readystatesoftware.mapviewballoons.R; import android.R.color; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.graphics.Color...
package angels.client.Activities; import com.readystatesoftware.mapviewballoons.R; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.graphics.Color; import android.os.Bundle...
package angels.client.Activities; import angels.client.R; import android.os.Bundle; import android.preference.PreferenceActivity; public class SettingsActivity extends PreferenceActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package angels.client.Activities; import java.util.List; import android.app.Dialog; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.SharedPreferences.On...
package angels.client.Activities; import android.graphics.Typeface; import com.readystatesoftware.mapviewballoons.R; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundl...
package angels.client.Activities; import com.readystatesoftware.mapviewballoons.R; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.Handler; i...
package mcu.market.ibatis.bean; import java.util.Date; public class BeanCompany { int id; int sid; String name; String chairman; Date s_date; Date ipo_date; Long p_i_c; int type; public int getId() { return id; } public void setId(int id) { this.id = id; } public ...
package mcu.market.ibatis.bean; import java.util.Date; public class BeanDailyPrice { int sid; Date day ; Double open ; Double high ; Double low ; Double close ; long volume ; long m_totle ; long m_count ; Double d_price; double rsi ; public int getSid() { ...
package mcu.market.set; import java.io.File; import java.io.FileWriter; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.dom4j.io.DOMReader; import org.dom4j.io.OutputFor...
package mcu.market.test; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import mcu.market.ibatis.IBatisFactory; import mcu.market.ibatis.bean.BeanDailyPrice; import mcu.market.util.DateUtil; import org.apache.ibatis.session.SqlSession; public class DB...
package mcu.market.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil{ /** * "example : yyyy/MM/dd" * @param twDate * @return * @throws ParseException */ public Date convertADDateToTWDate(String adDate) throws ParseEx...
package mcu.market.util; import java.util.ArrayList; import java.util.Map; import mcu.market.ibatis.IBatisFactory; public class DBControl{ public static void main(String[] args) { } public ArrayList SelectResultList(String sql_mapping,Map condition){ return (ArrayList)SelectResult(sql_mapping,con...
package mcu.market.swing; import java.awt.Component; import javax.swing.BoxLayout; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import java.awt.BorderLayout; public class welcome_panel extends JPanel { /** * Create the panel. */ public welcome_panel() { s...
package mcu.market.swing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.swing.GroupLayout; import javax.swing.Group...
package mcu.market.swing; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTable; import javax.swing.BoxLayout; import java.awt.BorderLayout; import javax.swing.JTextField; import javax.swing.JLabel; import java.awt.FlowLayout; import java.awt.Component; import java.awt.P...
package mcu.market.swing; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JLabel; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import java.awt.FlowLayout; import java...
package mcu.market.swing; import java.awt.AWTException; import java.awt.Image; import java.awt.MenuItem; import java.awt.PopupMenu; import java.awt.SystemTray; import java.awt.Toolkit; import java.awt.TrayIcon; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.Mo...
package mcu.market.net; import java.io.IOException; import java.util.ArrayList; import mcu.market.ibatis.IBatisFactory; import mcu.market.ibatis.bean.BeanCompany; import org.apache.ibatis.session.SqlSession; public class DBDosComand { String DBBinPath="D:\\PostgreSQL\\9.3\\bin\\psql.exe"; String SaveF...
package mcu.market.net.model; import java.util.List; import javax.swing.JLabel; public interface getDataFromWeb { /** * 取資料 * @param parameter(Object) can use List or Map to set parameter * @return */ String getDataFromURL(Object parameter); /** * 解析資料 * @param content from Web * @pa...
package mcu.market.net.model; import java.util.Calendar; import java.util.Date; import java.util.List; import mcu.market.ibatis.IBatisFactory; import mcu.market.ibatis.bean.BeanCompany; import org.apache.ibatis.session.SqlSession; public abstract class getPriceDataModel extends getSwtDataModel{ List<Be...
package mcu.market.net.model; import java.util.List; import javax.swing.JLabel; import javax.swing.JTextArea; import mcu.market.ibatis.IBatisFactory; import mcu.market.ibatis.bean.BeanCompany; import org.apache.ibatis.session.SqlSession; public abstract class getSwtDataModel implements getDataFromWeb{ ...
package mcu.market.net; import java.io.IOException; import java.text.DecimalFormat; import java.text.ParseException; import java.util.List; import org.apache.http.Consts; import org.apache.http.HttpResponse; import org.apache.http.client.ResponseHandler; import org.apache.http.client.fluent.Form; import or...
package mcu.market.net; import java.io.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import java.net.*; import org.cyberneko.html.parsers.DOMParser; import org.dom4j.Document; import org.dom4j.Node; import org.dom4j.io.DOMReader; import org.xml.sax.SAXException; pub...
package mcu.market.net; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; impor...
package mcu.market.net; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.text.DecimalFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.C...
package mcu.market.net; import java.io.IOException; import java.text.ParseException; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.http.Consts; import org.ap...
package com.tngames.angrytunisian.game.android; import playn.android.GameActivity; import playn.core.PlayN; import com.tngames.angrytunisian.game.core.AngryTunisianGame; public class AngryTunisianGameActivity extends GameActivity { @Override public void main(){ platform().assets().setPathPrefix("com/tngames...
package com.tngames.angrytunisian.game.core.splingshot; public class SlingLine { }
package com.tngames.angrytunisian.game.core.splingshot; import static playn.core.PlayN.pointer; import org.jbox2d.collision.shapes.CircleShape; import org.jbox2d.common.Vec2; import org.jbox2d.dynamics.Body; import org.jbox2d.dynamics.BodyDef; import org.jbox2d.dynamics.BodyType; import org.jbox2d.dynamics.F...
package com.tngames.angrytunisian.game.core.splingshot; import org.jbox2d.common.Vec2; import playn.core.Image; import com.tngames.angrytunisian.game.core.Constants; import com.tngames.angrytunisian.game.core.Resources; import com.tngames.angrytunisian.game.core.entity.Entity; import com.tngames.angrytunisi...
package com.tngames.angrytunisian.game.core; import static playn.core.PlayN.assets; import static playn.core.PlayN.graphics; import static playn.core.PlayN.keyboard; import static playn.core.PlayN.pointer; import playn.core.AssetWatcher; import playn.core.Image; import playn.core.ImageLayer; public class ...
package com.tngames.angrytunisian.game.core; import static playn.core.PlayN.assets; import static playn.core.PlayN.graphics; import java.awt.event.MouseAdapter; import org.jbox2d.common.Vec2; import playn.core.GroupLayer; import playn.core.Image; import playn.core.ImageLayer; import playn.core.Mouse; i...
package com.tngames.angrytunisian.game.core.camera; import playn.core.Mouse.WheelEvent; import com.tngames.angrytunisian.game.core.AngryTunisianGame; import com.tngames.angrytunisian.game.core.AngryTunisianGameEngine; import com.tngames.angrytunisian.game.core.Constants; import com.tngames.angrytunisian.game.c...
package com.tngames.angrytunisian.game.core; import static playn.core.PlayN.*; import playn.core.Game; import playn.core.Image; import playn.core.ImageLayer; public class AngryTunisianGame implements Game { private Splashscreen splashscreen; private AngryTunisianGameEngine engine; public GameScreen delegate; @...
package com.tngames.angrytunisian.game.core; public class Resources { private static final String IMAGES_PATH = "images/"; public static final String DEV_TEAM_LOGO = IMAGES_PATH + "dev_team.png"; public static final String BACKGROUND = IMAGES_PATH + "bg.png"; public static final String SLING_SHOT ...
package com.tngames.angrytunisian.game.core; public interface GameScreen { public void update(float delta); }