Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package org.newdawn.slick.gui; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; /** * Renamed to provide backwards compatibility * * @author kevin * @deprecated */ public abstract class BasicComponent extends AbstractComponent { /** The x position of the component */ pro...
440
github-java-corpus
2,012
package org.newdawn.slick.gui; /** * A descritpion of a class responding to events occuring on a GUI component * * @author kevin */ public interface ComponentListener { /** * Notification that a component has been activated (button clicked, * text field entered, etc) * * @param source The s...
90
github-java-corpus
2,012
package org.newdawn.slick.gui; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.Image; import org.newdawn.slick.Input; import org.newdawn.slick.Sound; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; /** * A mouse over area that can b...
2,671
github-java-corpus
2,012
package org.newdawn.slick.gui; import org.lwjgl.Sys; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.geom.Rectangle; /** * A single text field supporting text entry * * @author kevin */ public...
2,947
github-java-corpus
2,012
package org.newdawn.slick.gui; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.util.InputAdapter; /** ...
940
github-java-corpus
2,012
package org.newdawn.slick; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Vector2f; /** * A filling method for a shape. This allows changing colours at shape verticies and * modify they're positions as required * * @author kevin */ public interface ShapeFill { /** * Get the...
255
github-java-corpus
2,012
package org.newdawn.slick; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; i...
4,858
github-java-corpus
2,012
package org.newdawn.slick.openal; import org.lwjgl.openal.AL10; import org.lwjgl.openal.AL11; /** * A sound that can be played through OpenAL * * @author Kevin Glass * @author Nathan Sweet <misc@n4te.com> */ public class AudioImpl implements Audio { /** The store from which this sound was loaded */...
891
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; import java.nio.IntBuffer; import org.lwjgl.BufferUtils; import org.lwjgl.openal.AL10; import org.newdawn.slick.util.Log; /** * A sound implementation wrapped round a player which reads (and potentially) rereads * a stream. This supplies stre...
722
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; import java.io.InputStream; import org.newdawn.slick.loading.DeferredResource; import org.newdawn.slick.loading.LoadingList; import org.newdawn.slick.util.Log; /** * A sound implementation that can load the actual sound file at a later * poi...
1,085
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; /** * Decode an OGG file to PCM data * * @author Kevin Glass */ public class OggDecoder { /** The conversion buffer size */ private int convs...
3,087
github-java-corpus
2,012
package org.newdawn.slick.openal; import ibxm.Module; import ibxm.OpenALMODPlayer; import java.io.IOException; import java.io.InputStream; import java.nio.IntBuffer; import org.lwjgl.BufferUtils; import org.lwjgl.openal.AL10; /** * A sound as a MOD file - can only be played as music * * @author K...
660
github-java-corpus
2,012
/* * Copyright (c) 2002-2004 LWJGL Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice,...
1,981
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; import java.net.URL; import java.nio.ByteBuffer; import java.nio.IntBuffer; import org.lwjgl.BufferUtils; import org.lwjgl.openal.AL10; import org.lwjgl.openal.AL11; import org.lwjgl.openal.OpenALException; import org.newdawn.slick.util.Log; im...
2,057
github-java-corpus
2,012
package org.newdawn.slick.openal; /** * A null implementation used to provide an object reference when sound * has failed. * * @author kevin */ public class NullAudio implements Audio { /** * @see org.newdawn.slick.openal.Audio#getBufferID() */ public int getBufferID() { return 0; } /*...
373
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.nio.ByteBuffer; /** * Data describing the sounds in a OGG file * * @author Kevin Glass */ public class OggData { /** The data that has been read from the OGG file */ public ByteBuffer data; /** The sampling rate */ public int rate; /** The number o...
87
github-java-corpus
2,012
/* * Copyright (c) 2002-2004 LWJGL Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice,...
1,934
github-java-corpus
2,012
package org.newdawn.slick.openal; /** * The description of of audio data loaded by the AudioLoader * * @author kevin * @author Nathan Sweet <misc@n4te.com> */ public interface Audio { /** * Stop the sound effect */ public void stop(); /** * Get the ID of the OpenAL buffer holding this...
523
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.HashMap; ...
6,592
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; /** * The description of an input stream that supplied audio data suitable for * use in OpenAL buffers * * @author kevin */ interface AudioInputStream { /** * Get the number of channels used by the audio * * @return The number o...
477
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; import java.io.InputStream; import java.net.URL; /** * A utility to provide a simple and rational interface to the * slick internals * * @author kevin */ public class AudioLoader { /** AIF Format Indicator */ private static final Stri...
657
github-java-corpus
2,012
package org.newdawn.slick.openal; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.lwjgl.BufferUtils; import org.newdawn.slick.util.Log; import com.jcraft.jogg.Packet; import com.jcraft.jogg.Page; import com.jcraft.jogg.StreamState;...
3,906
github-java-corpus
2,012
package org.newdawn.slick; import org.newdawn.slick.opengl.SlickCallable; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.renderer.SGL; /** * A wrapper to allow any game to be scalable. This relies on knowing the * normal width/height of the game - i.e. the dimensions tha...
1,460
github-java-corpus
2,012
package org.newdawn.slick; import java.io.IOException; import java.util.HashMap; import javax.jnlp.ServiceManager; import org.newdawn.slick.muffin.FileMuffin; import org.newdawn.slick.muffin.Muffin; import org.newdawn.slick.muffin.WebstartMuffin; import org.newdawn.slick.util.Log; /** * A utility to a...
1,183
github-java-corpus
2,012
package org.newdawn.slick; /** * Description of any class capable of recieving and controlling it's own * reception of input * * You'll shouldn't really need to implement this one for your self, use one of the sub-interfaces: * * {@link InputListener} * {@link MouseListener} * {@link KeyListener} ...
220
github-java-corpus
2,012
/* * File: JarClassLoader.java * * Copyright (C) 2008-2010 JDotSoft. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in ...
6,817
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; /** * Erhält die Ergebnisse von einem {@link LineParser} und kann sie verarbeiten. * * @author Niklas Fiekas */ public interface LineListener { /** * Wird für jede Zeile einzeln in korrekter Reihenfolge aufgerufen. * * @param line * Die Zeile, wie sie...
321
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Hilft, eine Datei zeilenweise zu lesen und anhand eines regulären Ausdrucks * zu zerlegen. * * * @author Niklas Fiekas...
631
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; /** * Eine Klasse, die Konstanten für alle Massen der Objekte beinhaltet, damit * diese leichter auf einander abgestimmt werden können. * * @author Erik Wagner * */ public class Masses { public static final float NO_MASS = 0.0f; public static final float PLAYER = 5....
209
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; /** * Kann geworfen werden, wenn ein Fehler beim Parsen einer Zeile auftritt. * * @author Niklas Fiekas */ public class LineFailedException extends RuntimeException { private static final long serialVersionUID = 8945755199789337059L; /** * Erzeugt eine Instanz dieses...
133
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; import java.io.File; import java.net.URISyntaxException; import java.util.jar.JarFile; import org.newdawn.slick.util.Log; /** * Eine Klasse, die dazu dient, zu erkennen, ob das Programm aus einem * Jar-Archiv gestartet wurde * <p> * Der Name des Archivs muss manuell einge...
540
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; /** * <p> * Standartimplementierung {@link LineListener}, die überschrieben werden kann * um nur eizelne Methoden vom Standartverhalten abweichen zu lassen. * </p> * * <ul> * <li>Leere Zeilen werden ignoriert und das Parsen wird mit der nächsten Zeile * fortgesetzt.</l...
248
github-java-corpus
2,012
package com.googlecode.jumpnevolve.util; import com.googlecode.jumpnevolve.math.Vector; /** * Eine Klasse, in der Konstanten für alle anderen Klassen aus Jumpnevolve * gesammelt werden, damit sie an einer zentralen Stelle eingesehen und geändert * werden können. Gemeint sind nur Konstanten, die einstellbare Werte ...
1,582
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics; /** * Ein Interface für Objekte, die im Hintergrund gezeichnet werden sollen * * @author e.wagner * */ public interface BackgroundDrawable extends Drawable { }
50
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
272
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
956
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
891
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für Objekte, die {@link Activable} aktivieren/deaktivieren * können * * @author Erik Wagner * */ public interface Activating extends Accompanying { /** * Wird durch ein Activable aufgerufen, wenn es durch dieses Objekt * aktiviert wur...
339
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; import com.googlecode.jumpnevolve.math.Vector; /** * Ein Interface für einfache Objekte, in der allgemeine Funktionen gesammelt * werden * <p> * So können Funktionen aus {@link AbstractObject} in anderen Interfaces genutzt * werden * * @see AbstractObject imp...
225
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
2,788
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für Objekte, die einer "Gruppe" zugehörig ist * * @author Erik Wagner * */ public interface Accompanying { public static int COMPANY_UNDEFINED = 0; public static int COMPANY_OBJECT = 1; public static int COMPANY_ENEMY = 2; pu...
140
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
254
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für Objekt, auf die die Schwerkraft wirkt * * @author Erik Wagner * */ public interface GravityActing extends SimpleObject { }
47
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; import com.googlecode.jumpnevolve.math.NextCollision; /** * * @author Erik Wagner * */ public interface Damageable extends Accompanying { public static int DAMAGE_NORMAL = 0; public static int DAMAGE_FIRE = 1; public static int DAMAGE_WATER = 2; public sta...
323
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; import com.googlecode.jumpnevolve.game.objects.ScoutObject; import com.googlecode.jumpnevolve.math.CollisionResult; public interface Client extends SimpleObject { /** * Informiert den Clienten über einen Crash eines Objekts mit dem Scout * <p> * Der Crash mit...
183
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
5,712
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; import com.googlecode.jumpnevolve.math.Shape; import com.googlecode.jumpnevolve.math.Vector; /** * @author Erik Wagner * * TODO: boolean canMove() hinzufügen (beispielsweise nur bewegen, wenn * das Objekt auf dem Boden steht) * */ public inter...
265
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für ein "lebendes" Objekt, welches Schaden erleiden und sterben * kann * * @author Erik Wagner * */ public interface Living extends Accompanying { /** * @return Die aktuellen Lebenspunkte des Objekts */ public int getHP(); /** * ...
249
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Interface für ein aktivierbares Objekt * * @author Erik Wagner * */ public interface Activable extends Accompanying { /** * Wird aufgerufen, wenn dieses Objekt aktiviert werden soll und kann. </br> * Aktiviert dieses Objekt. * * @param activato...
388
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * @author Erik Wagner * */ public interface Blockable extends Accompanying, SimpleObject { /** * Gibt zurück, ob dieses Objekt ein anderes blockieren will * * @param other * Das andere {@link Blockable} * @return <code>true</code>, wenn...
169
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * @author Erik Wagner * */ public interface Jumping extends SimpleObject { public static final float JUMP_SOLDIER = 100; /** * Gibt die Höhe des Sprungs zurück * * @return >0.0f */ public float getJumpingHeight(); public boolean wantJump(); }
82
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für elastische Objekte. Diese sind immer {@link Blockable} und * zeichnen sich dadurch aus, dass sie von anderen Objekten abprallen. Durch den * Elastizitäts-Faktor wird bestimmt, wie viel vom Impuls erhalten bleibt. * * @see ElasticBlockable...
168
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für Objekte, die aus mehreren Objekten bestehen. * <p> * Die zusätzlichen Objekte werden durch {@link getObjects()} zurückgegeben und * in die World automatisch eingebunden. * * @author Erik Wagner * */ public interface ObjectGroup { /*...
130
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.world; /** * Ein Interface für Objekte, die sowohl leben, als auch Schaden hinzufügen * können * * @author Erik Wagner */ public interface Fighting extends Damageable, Living { }
56
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
274
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
255
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
2,390
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics; /** * Ein Interface für Objekte, die im Vordergrund gezeichnet werden sollen * * @author e.wagner * */ public interface ForegroundDrawable extends Drawable { }
51
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
747
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics; public abstract class Engine { private static SlickEngine instance; public static SlickEngine getInstance() { if (instance == null) { instance = SlickEngine.getInstance(); } return instance; } public static void makeCurrent(SlickEngine current) { instance =...
72
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
289
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
568
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
564
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
259
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
342
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.effects; import org.newdawn.slick.particles.Particle; import org.newdawn.slick.particles.ParticleEmitter; import org.newdawn.slick.particles.ParticleSystem; import com.googlecode.jumpnevolve.math.Vector; /** * @author Erik Wagner * */ public class AirFlowEmitterFactory...
584
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
847
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
240
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.effects; import org.newdawn.slick.particles.Particle; import org.newdawn.slick.particles.ParticleEmitter; import org.newdawn.slick.particles.ParticleSystem; import com.googlecode.jumpnevolve.util.Parameter; public class SprayEmitterFactory implements ParticleEmitterFactory...
433
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
1,227
github-java-corpus
2,012
/* * Copyright (C) 2010 Erik Wagner and Niklas Fiekas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This...
213
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics; public interface AbstractEngine { /** * Fügt einen Zustand hinzu, sodass er später aufgerufen werden kann. Wird * ein existierender Zustand hinzugefügt, wird keine Aktion ausgeführt. * * @param state * Neuer Zustand der Grafikengine. */ public abs...
301
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; public interface ContentListener { public void contentChanged(Contentable object); }
23
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.container; import java.util.HashMap; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import com.googlecode.jumpnevolve.graphics.gui.Informable; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunctions; import com.googlecode.jumpne...
1,328
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.container; import com.googlecode.jumpnevolve.graphics.gui.InterfacePart; import com.googlecode.jumpnevolve.math.Rectangle; import com.googlecode.jumpnevolve.math.Shape; import com.googlecode.jumpnevolve.math.Vector; /** * Ein GridContainer unterteilt die ihm...
2,589
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.container; import com.googlecode.jumpnevolve.math.Rectangle; import com.googlecode.jumpnevolve.math.Shape; import com.googlecode.jumpnevolve.math.Vector; /** * Ein InterfaceContainer, der die ihm zur Verfügung stehende Fläche in eine * Kopfzeile und einen darunterlieg...
402
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.container; import java.util.HashMap; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import com.googlecode.jumpnevolve.graphics.gui.Informable; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunctions; import com.googlecode.jumpne...
1,292
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.container; import java.util.ArrayList; import java.util.HashMap; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.util.Log; import com.googlecode.jumpnevolve.graphics.gu...
1,828
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.container; import com.googlecode.jumpnevolve.graphics.gui.InterfacePart; import com.googlecode.jumpnevolve.math.Rectangle; import com.googlecode.jumpnevolve.math.Vector; /** * Ein BorderContainer ordnet die Objekte an bestimmten Stellen an (Ecken, * Mitten der Kanten,...
751
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.container; import java.util.HashMap; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.util.Log; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevo...
1,931
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.gui.container.InterfaceContainer; import com.googlecode.jumpnevolve.math.Rectangle; import com.googlecode.jumpnevolve.math.Vector; /** * Die Hauptklasse für das User-Interface. * <p> * Es...
332
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; import com.googlecode.jumpnevolve.graphics.Drawable; import com.googlecode.jumpnevolve.graphics.Pollable; import com.googlecode.jumpnevolve.graphics.world.Camera; /** * Ein Interfaceable ist ein Objekt, was ein Interface beinhalten kann * * @author Erik Wagner * ...
217
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.objects; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.graphics.ResourceManager; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunction; ...
511
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.graphics.gui.ContentListener; import com.googlecode.jumpnevolve.graphics.g...
427
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import org.newdawn.slick.util.Log; import com.googlecode.jumpnevolve.graphics.gui.ContentListener; import com.googlecode.jumpnevolve.graphics.gui.Contentable; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunctions; import...
529
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import org.newdawn.slick.Input; import org.newdawn.slick.util.Log; import com.googlecode.jumpnevolve.graphics.gui.Informable; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunction; import com.googlecode.jumpnev...
1,277
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.g...
1,408
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunction; import com.googlecode.jumpnevolve.math.R...
561
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import org.newdawn.slick.Font; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.graphics.gui.InterfaceFunctions; import com.googlecode.jumpnevolve.math.Rectangle; import com.go...
377
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import com.googlecode.jumpnevolve.graphics.gui.ContentListener; import com.googlecode.jumpnevolve.graphics.gui.Contentable; import com.googlecode.jumpnevolve.graphics.gui.Informable; import com.googlecode.jumpnevolve.graphics....
992
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; /** * Eine Funktion, die einem Interface-Objekt zugeordnet wird * * @author Erik Wagner * */ public interface InterfaceFunction { /** * @return Die Art des Objekts, dem diese Funktion zugeteilt wurde</br>Der * String ist immer im UpperCase ({@link S...
285
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; /** * Ein Interface für InterfaceObjekte, die auslesbare Werte beinhalten * * @author e.wagner * */ public interface Contentable extends InterfacePart { /** * @return Der "Inhalt" dieses Objekts (z.B. eine eingestellte Zahl oder ein * ei...
108
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; /** * @author Erik Wagner * */ public enum InterfaceFunctions implements InterfaceFunction { ERROR(), FIGURE_ROLLING_BALL(), FIGURE_JUMPING_CROSS(), SKILL_HIGH_JUMP(), INTERFACE_BUTTONLIST_BACK(), INTERFACE_BUTTONLIST_FORTH(), INTERFACE_TEXTBUTTONLIST_UP()...
561
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; import com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceObject; /** * Ein Informable kann über die Aktionen eines InterfaceObject informiert * werden. Dazu wird {@link InterfaceObject} verwendet. * * @author Erik Wagner * */ public interface Informable ...
253
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.graphics.gui; import com.googlecode.jumpnevolve.graphics.Drawable; import com.googlecode.jumpnevolve.graphics.Pollable; import com.googlecode.jumpnevolve.graphics.gui.container.InterfaceContainer; import com.googlecode.jumpnevolve.math.Rectangle; /** * Interface wird von...
189
github-java-corpus
2,012
package com.googlecode.jumpnevolve.graphics.gui; public class DialogPart { public final String name; public final Contentable part; public DialogPart(Contentable part, String name) { this.part = part; this.name = name; } }
51
github-java-corpus
2,012
/** * */ package com.googlecode.jumpnevolve.game; import com.googlecode.jumpnevolve.graphics.world.Camera; import com.googlecode.jumpnevolve.graphics.world.World; import com.googlecode.jumpnevolve.math.Vector; /** * Eine Kamera, die über die Möglichkeit verfügt, die Position so zu begrenzen, * dass man nichts "au...
184
github-java-corpus
2,012
package com.googlecode.jumpnevolve.game.campaign; import java.util.ArrayList; import java.util.HashMap; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.StateBasedGame; import org.newdawn....
827
github-java-corpus
2,012
package com.googlecode.jumpnevolve.game.campaign; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.Drawable; public class LevelConnection implements Drawable { public final LevelMarker pos1, pos2; public LevelConnection(LevelMarker pos1, LevelMarker pos2) { this.pos1 = pos1; this...
115
github-java-corpus
2,012
package com.googlecode.jumpnevolve.game.campaign; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import com.googlecode.jumpnevolve.graphics.Drawable; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import ...
576