text stringlengths 3 1.18M |
|---|
package com.hawk_an;
public class Game {
public static void main(String[] args) {
AI player1 = new AI();
AI player2 = new AI();
Judge game = new Judge(player1,player2);
Visual visual = new Visual(640,480,game);
}
}
|
package com.hawk_an;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.*;
public class Visual extends JFrame{
private static final long serialVersionUID = 1L;
private int init = 0;
protected BufferedImage bufferImage;
protected Gra... |
package com.hawk_an;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Polygon;
public class GameGraphics {
public GameGraphics(){
}
public void paint(Graphics2D g,int width, int height){
for(int t = 1; t < 7; t ++){
Polygon circle = makecircle();
circle.translate(0, (height/7)*t+10);... |
package com.hawk_an;
public class AI{
public AI(){
}
public void run() {
System.out.println("Jag lever");
}
public void start(){
}
}
|
package com.hawk_an;
public class Judge implements Runnable {
public Thread Judge = new Thread(this);
private int[][] plan = new int[7][6];
long now = 0;
public Judge(AI player1, AI player2){
Judge.start();
}
public int readPlan(int x, int y){
return plan[x][y];
}
public void run() {
now = System.curre... |
package ch.bfh.ti.barcode.io;
import java.io.IOException;
import java.io.OutputStream;
import ch.bfh.ti.barcode.exception.EncodeException;
import ch.bfh.ti.barcode.multiple.MultipleCodeGenerator;
/**
* A simple implementation of the abstract OutputStream class writing to the
* MultipleCodeGenerator. The ... |
package ch.bfh.ti.barcode.io;
import java.io.IOException;
import java.io.InputStream;
import ch.bfh.ti.barcode.multiple.MultipleCodeReader;
/**
* A simple implementation of the abstract {@link InputStream} class reading from the
* {@link MultipleCodeReader}. The implementation does not do any buffering. I... |
package ch.bfh.ti.barcode;
import ch.bfh.ti.barcode.exception.DecodeException;
import ch.bfh.ti.barcode.exception.NotDetectedException;
/**
* This interface describes a class with the ability to transform an image with
* a barcode into a byte array with the actual data of the barcode.
*
* @author Domini... |
package ch.bfh.ti.barcode.multiple;
/**
* The SimpleFrame has only the frame number information in the header. It is
* used for all the frames but the first one.
*
* @author Dominik von Burg
*
*/
class SimpleFrame extends Frame {
/**
* Creates a SimpleFrame by providing the user data and the fram... |
package ch.bfh.ti.barcode.multiple;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import ch.bfh.ti.barcode.CodeReader;
import ch.bfh.ti.barcode.exception.Deco... |
package ch.bfh.ti.barcode.multiple;
/**
* This frame is the first frame transfered and carries additional information
* like the filename and the file size.
*
* @author Dominik von Burg
*
*/
class HeaderFrame extends Frame {
/**
* Create a HeaderFrame by providing the user data and additional
... |
package ch.bfh.ti.barcode.multiple;
import java.util.Arrays;
/**
* The data has to be splitted into small parts to be transfered with barcodes.
* Those parts have to carry some additional data like the frame number to
* identify every single frame. This class helps create and read those parts.
*
* @aut... |
package ch.bfh.ti.barcode.multiple;
import java.util.EventListener;
/**
* This interface is used to tell the listener when a new barcode is ready to be
* processed. The MultipleCodeGenerator controls the frequency of codes being
* processed by any class listening to this EventListener.
*
* @author Domi... |
package ch.bfh.ti.barcode.multiple;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import ch.bfh.ti.barcode.CodeGenerator;
import ch.bfh.ti.barcode.exception.EncodeException;
/**
* This class is a wrapper for the CodeGenerator. It provides a way of splitting
* data and sendi... |
package ch.bfh.ti.barcode.multiple;
import java.util.EventObject;
/**
* This EventObject contains the data which is needed, when a new barcode is
* being sent.
*
* @author Dominik von Burg
*
*/
public class CodeEvent extends EventObject {
private static final long serialVersionUID = 1L;
priva... |
package ch.bfh.ti.barcode;
import ch.bfh.ti.barcode.exception.EncodeException;
/**
* This interface describes a class with the ability to transform raw data into
* a barcode image.
*
* @author Dominik von Burg
*
*/
public interface CodeGenerator {
/**
* This method converts binary data into a ... |
package ch.bfh.ti.barcode.exception;
/**
* Every frame transmitted by the MultipleCodeGenerator/MultipleCodeReader has a
* increasing number. This exception has to be fired when the MultipleCodeReader
* detects that a number is missing.
*
* @author Dominik von Burg
*
*/
public class FrameMissedExcep... |
package ch.bfh.ti.barcode.exception;
/**
* This exception will be fired in case something went wrong with the decoding of
* a barcode.
*
* @author Dominik von Burg
*
*/
public class DecodeException extends Exception {
private static final long serialVersionUID = 1L;
public DecodeException(String... |
package ch.bfh.ti.barcode.exception;
/**
* This exception will be thrown when an image with a barcode is being decoded
* and the decoder does not detect the barcode.
*
* @author Dominik von Burg
*
*/
public class NotDetectedException extends Exception {
private static final long serialVersionUID = 1... |
package ch.bfh.ti.barcode.exception;
/**
* This exception will be fired in case something went wrong with the encoding of
* a barcode.
*
* @author Dominik von Burg
*
*/
public class EncodeException extends Exception {
private static final long serialVersionUID = 1L;
public EncodeException(Stri... |
package ch.bfh.ti.barcode.colorQrCode;
import java.util.EnumMap;
import Jama.Matrix;
import ch.bfh.ti.barcode.CodeReader;
import ch.bfh.ti.barcode.exception.DecodeException;
import ch.bfh.ti.barcode.exception.NotDetectedException;
import com.google.zxing.BinaryBitmap;
import com.google.zxing.ChecksumExcept... |
package ch.bfh.ti.barcode.colorQrCode;
import com.google.zxing.LuminanceSource;
/**
* This LuminanceSource doesn't do anything. It replaces the RGBLuminanceSource
* for performance reasons.
*
* @author Dominik von Burg
*
*/
public class SimpleLuminanceSource extends LuminanceSource {
private byte... |
package ch.bfh.ti.barcode.colorQrCode;
import java.io.UnsupportedEncodingException;
import java.util.EnumMap;
import ch.bfh.ti.barcode.CodeGenerator;
import ch.bfh.ti.barcode.exception.EncodeException;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.EncodeHintType;
import com.google.zxing.Mu... |
package ch.bfh.ti.barcode.colorQrCode;
import com.google.zxing.Binarizer;
import com.google.zxing.LuminanceSource;
import com.google.zxing.NotFoundException;
import com.google.zxing.common.BitArray;
import com.google.zxing.common.BitMatrix;
/**
* Replaces the HybridBinarizer or GlobalHistogramBinarizer. Thi... |
/*
* Copyright 2009 ZXing authors
*
* 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 law o... |
/** Automatically generated file. DO NOT MODIFY */
package ch.bfh.ti.pixelator;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
/*
* Copyright (C) 2011-2012 The Android Open Source Project
*
* 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 r... |
package ch.bfh.ti.pixelator;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.Context;
import android.support.v13.app.FragmentPagerAdapter;
import ch.bfh.ti.pixelator.camera.ReceiveFragment;
import ch.bfh.ti.pixelator.preferences.MainPreferenceFragment;
import ch.bfh.ti.p... |
package ch.bfh.ti.pixelator;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class ShareFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,... |
package ch.bfh.ti.pixelator.send;
import java.io.IOException;
import android.app.Fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.LayoutInflater;
import android.view.View;
import and... |
package ch.bfh.ti.pixelator.send;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import androi... |
package ch.bfh.ti.pixelator.camera;
import java.io.IOException;
import android.content.Context;
import android.content.SharedPreferences;
import android.hardware.Camera;
import android.hardware.Camera.Parameters;
import android.preference.PreferenceManager;
import android.util.AttributeSet;
import android.v... |
package ch.bfh.ti.pixelator.camera;
import android.app.Activity;
import android.content.Context;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.FrameLayout;
i... |
package ch.bfh.ti.pixelator.camera;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageButton;
import ch.bfh.ti.... |
package ch.bfh.ti.pixelator.camera;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.ImageFormat;
import android.graphics.Rect;
import android.hardware.Camera;
import android.hardware.Camera.Size;
import and... |
package ch.bfh.ti.pixelator.preferences;
import android.content.Context;
import android.preference.SwitchPreference;
import android.util.AttributeSet;
/**
* The SwitchPreference shows some really weird behavior. Every time it is
* hidden in the view it is being recycled and reseted. This is why we simply
... |
package ch.bfh.ti.pixelator.preferences;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.hardware.Camera;
import android.h... |
package ch.bfh.ti.pixelator.preferences;
import android.content.Context;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener;
import andr... |
package ch.bfh.ti.pixelator;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import android.app.ActionBar;
import android.app.Activity;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.content.Shar... |
/*
Copyright 2012 Cesar Aguilar
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 law or agreed to in w... |
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Iterator;
import java.util.... |
package org.anddev.andengine.engine;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import org.anddev.andengine.audio.music.MusicFactory;
import org.anddev.andengine.audio.music.MusicManager;
import org.anddev.andengine.audio.sound.SoundFactory;
import org.an... |
package org.anddev.andengine.engine;
import org.anddev.andengine.engine.options.EngineOptions;
/**
* A subclass of {@link Engine} that tries to achieve a specific amount of updates per second.
* When the time since the last update is bigger long the steplength, additional updates are executed.
*
* (c) ... |
package org.anddev.andengine.engine;
import org.anddev.andengine.engine.options.EngineOptions;
/**
* A subclass of {@link Engine} that tries to achieve a specific amount of
* updates per second. When the time since the last update is bigger long the
* steplength, additional updates are executed.
*
* (c... |
package org.anddev.andengine.engine.options;
import android.os.PowerManager;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 19:45:23 - 10.07.2010
*/
public enum WakeLockOptions {
// ===========================================================
// Eleme... |
package org.anddev.andengine.engine.options;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:01:40 - 02.07.2010
*/
public class RenderOptions {
// ===========================================================
// Constants
// ==========================... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:02:35 - 29.03.2010
*/
public interface IResolutionPolicy {
// ===================... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:23:00 - 29.03.2010
*/
public class FixedResolutionPolicy extends BaseResolutionPoli... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
import android.view.View.MeasureSpec;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:23:00 - 29.03.2010
*/
public class Relativ... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
import android.view.View.MeasureSpec;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:22:48 - 29.03.2010
*/
public class FillRes... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
import android.view.View.MeasureSpec;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:23:00 - 29.03.2010
*/
public class RatioRe... |
package org.anddev.andengine.engine.options.resolutionpolicy;
import android.view.View.MeasureSpec;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 22:46:43 - 06.10.2010
*/
public abstract class BaseResolutionPolicy implements IResolutionPolicy {
// ===... |
package org.anddev.andengine.engine.options;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:03:09 - 08.09.2010
*/
public class TouchOptions {
// ===========================================================
// Constants
// ===========================... |
package org.anddev.andengine.engine.options;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.resolutionpolicy.IResolutionPolicy;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:59:52 - 09.03.2010
*/
public ... |
package org.anddev.andengine.engine.camera;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:55:54 - 27.07.2010
*/
public class BoundCamera extends Camera {
// ===========================================================
// Constants
// ==============... |
package org.anddev.andengine.engine.camera;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import org.anddev.andengine.input.touch.TouchEvent;
import org.anddev.andengine.util.MathUtils;
/**
* (c) 2... |
package org.anddev.andengine.engine.camera;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 22:11:17 - 25.03.2010
*/
public class SmoothCamera extends ZoomCamera {
// ===========================================================
// Constants
// =======... |
package org.anddev.andengine.engine.camera;
import android.content.Context;
import android.util.DisplayMetrics;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:50:42 - 03.07.2010
*/
public class CameraFactory {
// ===================================... |
package org.anddev.andengine.engine.camera.hud;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.entity.scene.CameraScene;
import org.anddev.andengine.entity.scene.Scene;
/**
* While you can add a {@link HUD} to {@link Scene}, you should not do so.
* {@link HUD}s are meant to be... |
package org.anddev.andengine.engine.camera.hud.controls;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.input.touch.TouchEvent;
import org.anddev.andengine.input.touch.detector.ClickDetector;
import org.anddev.andengine.input.touch.detector.ClickDetector.IClickDetectorListener;
imp... |
package org.anddev.andengine.engine.camera.hud.controls;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.camera.hud.HUD;
i... |
package org.anddev.andengine.engine.camera.hud.controls;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.opengl.texture.region.TextureRegion;
import org.anddev.andengine.util.MathUtils;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
*... |
package org.anddev.andengine.engine.camera;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.collision.RectangularShapeCollisionCh... |
package org.anddev.andengine.engine;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine.input.touch.TouchEvent;
import org.andde... |
package org.anddev.andengine.engine;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.input.touch.TouchEvent;
import org.anddev.andengine.opengl.util.GLHelper;
/**
* (c) ... |
package org.anddev.andengine.engine.handler;
import org.anddev.andengine.util.SmartList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 09:45:22 - 31.03.2010
*/
public class UpdateHandlerList extends SmartList<IUpdateHandler> implements IUpdateHandler {
... |
package org.anddev.andengine.engine.handler.timer;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:23:25 - 12.03.2010
*/
public interface ITimerCallback {
// ===========================================================
// Final Fields
// ============... |
package org.anddev.andengine.engine.handler.timer;
import org.anddev.andengine.engine.handler.IUpdateHandler;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:23:58 - 12.03.2010
*/
public class TimerHandler implements IUpdateHandler {
// =============... |
package org.anddev.andengine.engine.handler.physics;
import org.anddev.andengine.engine.handler.BaseEntityUpdateHandler;
import org.anddev.andengine.entity.IEntity;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:53:07 - 24.12.2010
*/
public class Phy... |
package org.anddev.andengine.engine.handler.collision;
import java.util.ArrayList;
import org.anddev.andengine.engine.handler.IUpdateHandler;
import org.anddev.andengine.entity.shape.IShape;
import org.anddev.andengine.util.ListUtils;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @autho... |
package org.anddev.andengine.engine.handler.collision;
import org.anddev.andengine.entity.shape.IShape;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 12:05:39 - 11.03.2010
*/
public interface ICollisionCallback {
// ===================================... |
package org.anddev.andengine.engine.handler.runnable;
import java.util.ArrayList;
import org.anddev.andengine.engine.handler.IUpdateHandler;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:24:39 - 18.06.2010
*/
public class RunnableHandler implement... |
package org.anddev.andengine.engine.handler;
import org.anddev.andengine.util.IMatcher;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 12:24:09 - 11.03.2010
*/
public interface IUpdateHandler {
// =======================================================... |
package org.anddev.andengine.engine.handler;
import org.anddev.andengine.entity.IEntity;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:00:25 - 24.12.2010
*/
public abstract class BaseEntityUpdateHandler implements IUpdateHandler {
// ==============... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.input.touch.TouchEvent;
import android.view.MotionEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:29:59 - 16.08.2010
*/
public class ScrollDetector extends BaseDet... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.input.touch.TouchEvent;
import android.view.MotionEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:29:59 - 16.08.2010
*/
public class ClickDetector extends BaseDete... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine.entity.scene.Scene.IOnSceneTouchListener;
import org.anddev.andengine.input.touch.TouchEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlic... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.engine.handler.IUpdateHandler;
import org.anddev.andengine.engine.handler.timer.ITimerCallback;
import org.anddev.andengine.engine.handler.timer.TimerHandler;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.input.touch.TouchEvent;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;
/**
* @author rkpost
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
... |
package org.anddev.andengine.input.touch.detector;
import org.anddev.andengine.input.touch.TouchEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:12:29 - 16.08.2010
*/
public class SurfaceScrollDetector extends ScrollDetector {
// ==============... |
package org.anddev.andengine.input.touch;
import org.anddev.andengine.util.pool.GenericPool;
import android.view.MotionEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:17:42 - 13.07.2010
*/
public class TouchEvent {
// ======================... |
package org.anddev.andengine.input.touch.controller;
import android.view.MotionEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 20:23:33 - 13.07.2010
*/
public class SingleTouchControler extends BaseTouchController {
// ===========================... |
package org.anddev.andengine.input.touch.controller;
import org.anddev.andengine.engine.options.TouchOptions;
import org.anddev.andengine.input.touch.TouchEvent;
import org.anddev.andengine.util.pool.RunnablePoolItem;
import org.anddev.andengine.util.pool.RunnablePoolUpdateHandler;
import android.view.MotionEv... |
package org.anddev.andengine.input.touch.controller;
import org.anddev.andengine.engine.handler.IUpdateHandler;
import org.anddev.andengine.engine.options.TouchOptions;
import org.anddev.andengine.input.touch.TouchEvent;
import android.view.MotionEvent;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga I... |
package org.anddev.andengine.level;
import java.util.HashMap;
import org.anddev.andengine.level.LevelLoader.IEntityLoader;
import org.anddev.andengine.level.util.constants.LevelConstants;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
/**
* (c) ... |
package org.anddev.andengine.level;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.anddev.... |
package org.anddev.andengine.level.util.constants;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:23:27 - 11.10.2010
*/
public interface LevelConstants {
// ===========================================================
// Final Fields
// ==========... |
package org.anddev.andengine.opengl.font;
import org.anddev.andengine.opengl.texture.ITexture;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.Typeface;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:39:33... |
/**
*
*/
package org.anddev.andengine.opengl.font;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:30:22 - 03.04.2010
*/
public class Letter {
// ===========================================================
// Constants
// =====================... |
package org.anddev.andengine.opengl.font;
import java.util.ArrayList;
import javax.microedition.khronos.opengles.GL10;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 17:48:46 - 08.03.2010
*/
public class FontManager {
// ==========================... |
package org.anddev.andengine.opengl.font;
import org.anddev.andengine.opengl.texture.ITexture;
import android.content.Context;
import android.graphics.Typeface;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 17:17:28 - 16.06.2010
*/
public class Font... |
package org.anddev.andengine.opengl.font;
import java.util.ArrayList;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.opengl.texture.ITexture;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import... |
package org.anddev.andengine.opengl.font;
import org.anddev.andengine.util.Library;
import android.util.SparseArray;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:52:26 - 20.08.2010
*/
public class FontLibrary extends Library<Font> {
// ========... |
package org.anddev.andengine.opengl.font;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:29:21 - 03.04.2010
*/
class Size {
// ===========================================================
// Constants
// =============================================... |
package org.anddev.andengine.opengl.texture.bitmap;
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.opengl.texture.Texture;
import org.anddev.andengine.opengl.texture.TextureOptions;
import org.anddev.andengine.opengl.util.GLHelper;... |
package org.anddev.andengine.opengl.texture.source;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:55:12 - 12.07.2011
*/
public abstract class BaseTextureAtlasSource implements ITextureAtlasSource {
// ==============================================... |
package org.anddev.andengine.opengl.texture.source;
import org.anddev.andengine.util.modifier.IModifier.DeepCopyNotSupportedException;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:46:56 - 12.07.2011
*/
public interface ITextureAtlasSource {
// =... |
package org.anddev.andengine.opengl.texture.buffer;
import org.anddev.andengine.opengl.buffer.BufferObject;
import org.anddev.andengine.opengl.font.Font;
import org.anddev.andengine.opengl.font.Letter;
import org.anddev.andengine.opengl.util.FastFloatBuffer;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zyng... |
package org.anddev.andengine.opengl.texture;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.util.Debug;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramli... |
package org.anddev.andengine.opengl.texture.compressed.pvr;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.opengl.texture.Texture;
import org.anddev.andengine.opengl.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.