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
/* * Copyright 2007 the original author or 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 b...
572
github-java-corpus
2,012
/* * Copyright 2007 the original author or 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 applica...
393
github-java-corpus
2,012
/* * Copyright 2007 the original author or 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 applic...
239
github-java-corpus
2,012
/* * Copyright 2007 the original author or 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 applica...
600
github-java-corpus
2,012
/* * Copyright 2012 Geomatys * * 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 agre...
655
github-java-corpus
2,012
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011 TXT e-solutions SpA * * 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:...
1,540
github-java-corpus
2,012
/* * Copyright 1999-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011-2012 CELI srl * Copyright 2011-2012 TXT e-solutions SpA * * 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 co...
6,019
github-java-corpus
2,012
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011 TXT e-solutions SpA * * 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:...
1,814
github-java-corpus
2,012
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011 TXT e-solutions SpA * * 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:...
2,338
github-java-corpus
2,012
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011 TXT e-solutions SpA * * 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:...
1,989
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.util.logging.Logger; import javax.sql.DataSource; public class OrientDataSource implements DataS...
343
github-java-corpus
2,012
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * * 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 ...
442
github-java-corpus
2,012
/*************************************************************************** * Copyright 2011 TXT e-solutions SpA * 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....
1,849
github-java-corpus
2,012
/* * Copyright 1999-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * Copyright 2011-2012 CELI srl * Copyright 2011-2012 TXT e-solutions SpA * * 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 co...
4,496
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.as...
253
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.i...
767
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.io.IOException; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.junit.Test; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import com.orientechnologies.orient.core.me...
885
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.Statement; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static java.sql.ResultSet.CONCUR_READ_ONLY; import static java.sql.ResultSet.HOLD_C...
265
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; import org.hamcrest.Matchers; import org.junit.Test; import static org.hamcrest....
451
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; public class OrientJdbcResultSetTest extends OrientJdbcBaseTest { ...
126
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.Date; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import java.sql.Types; import java.util.Calendar; import java.util.TimeZone; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org....
835
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.Connection; import java.sql.SQLException; import org.junit.Test; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; public class OrientDataSourceTest extends OrientJdbcBaseTest { @Test public void shouldConnect() thr...
120
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; pub...
218
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.DriverManager; import java.util.Properties; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import static java.lang.Class.forName; import static com.ori...
338
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; im...
730
github-java-corpus
2,012
package com.orientechnologies.orient.jdbc; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.TimeZone; import com.orientechnologies.o...
1,780
github-java-corpus
2,012
package com.googlecode.jumpnevolve.tests.util; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import java.io.IOException; import java.io.StringReader; import org.junit.Test; import com.googlecode.jumpnevolve.util.LineAdapter; import co...
529
github-java-corpus
2,012
package com.googlecode.jumpnevolve.tests.graphics; import com.googlecode.jumpnevolve.graphics.Engine; import com.googlecode.jumpnevolve.graphics.world.World; /** * <p> * Testfall für die Grafikengine. * <p> * * <p> * Erwartetes Verhalten ist das Anzeigen eines leeren Fensters. * </p> * * @author Niklas Fieka...
168
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...
434
github-java-corpus
2,012
package com.googlecode.jumpnevolve.tests.game; import com.googlecode.jumpnevolve.game.objects.Ground; import com.googlecode.jumpnevolve.graphics.SlickEngine; import com.googlecode.jumpnevolve.graphics.world.World; import com.googlecode.jumpnevolve.math.Vector; public class EffectsTest { public static void main(Strin...
145
github-java-corpus
2,012
package com.googlecode.jumpnevolve.tests.game; import com.googlecode.jumpnevolve.game.Level; import com.googlecode.jumpnevolve.game.Levelloader; import com.googlecode.jumpnevolve.graphics.SlickEngine; public class LevelTest { public static void main(String[] args) { SlickEngine engine = SlickEngine.getInstance()...
110
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,071
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,797
github-java-corpus
2,012
package com.googlecode.jumpnevolve.tests.math; import java.util.Date; import org.junit.Test; import com.googlecode.jumpnevolve.math.Circle; import com.googlecode.jumpnevolve.math.NextShape; import com.googlecode.jumpnevolve.math.Rectangle; import com.googlecode.jumpnevolve.math.Shape; import com.googlecode.jumpnevol...
467
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,182
github-java-corpus
2,012
package org.newdawn.slick.tiled; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Properties; import java.util.zip.GZIPInputStream; import org.newdawn.slick.SlickException; import org.newdawn.slick.util.Log; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3...
2,200
github-java-corpus
2,012
package org.newdawn.slick.tiled; import java.io.InputStream; import java.util.HashMap; import java.util.Properties; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.newdawn.slick.Color; import org.newdawn.slick.Image; import org.newdawn.slick.SlickExcep...
1,801
github-java-corpus
2,012
package org.newdawn.slick.tiled; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Properties; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.newdawn.slick.Image; ...
6,667
github-java-corpus
2,012
package org.newdawn.slick; import java.io.IOException; import java.util.Properties; import org.lwjgl.LWJGLException; import org.lwjgl.Sys; import org.lwjgl.input.Cursor; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.Drawable; import org.lwjgl.opengl.Pbuffer; import org.lwjgl.opengl.PixelFormat; ...
5,710
github-java-corpus
2,012
package org.newdawn.slick.fills; import org.newdawn.slick.Color; import org.newdawn.slick.ShapeFill; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Vector2f; /** * A fill effect used to define gradients when filling and drawing shapes. A gradient is defined * by two control points. Each...
1,968
github-java-corpus
2,012
package org.newdawn.slick; /** * Description of anything that can be drawn * * @author kevin */ public interface Renderable { /** * Draw this artefact at the given location * * @param x The x coordinate to draw the artefact at * @param y The y coordinate to draw the artefact at */ pu...
91
github-java-corpus
2,012
package org.newdawn.slick; /** * Description of classes that respond to mouse related input events * * @author kevin */ public interface MouseListener extends ControlledInputReciever { /** * Notification that the mouse wheel position was updated * * @param change The amount of the wheel has m...
579
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.geom.Transform; import org.w3c.dom.Element; /** * Description of a simple XML loader * * @author kevin */ public interface Loader { /** * Load the children of a given element * * @param element The element whose children should be loade...
120
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.geom.Line; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.TexCoordGenerator; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.geom.Vector2f; /** * A filler for shapes that applys SVG linear gradients * * @autho...
528
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.ShapeRenderer; import org.newdawn.slick.geom.TexCoordGenerator; import org.newdawn.slick.opengl.TextureImpl; import org.newdawn.slick.opengl.rende...
836
github-java-corpus
2,012
package org.newdawn.slick.svg; import java.util.ArrayList; import org.newdawn.slick.Color; import org.newdawn.slick.Image; import org.newdawn.slick.ImageBuffer; import org.newdawn.slick.geom.Transform; /** * A gradient definition from an SVG file, includes the stops, name and transform. * * @author k...
1,835
github-java-corpus
2,012
package org.newdawn.slick.svg; import java.util.Properties; import org.newdawn.slick.Color; /** * A set of data about a shape that doesn't fit into it's geometric * configuration. * * @author kevin */ public class NonGeometricData { /** The ID of the figure */ public static final String ID = "i...
1,360
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; /** * A figure that is part of diagram loaded from SVG * * @author kevin */ public class Figure { /** Ellipse Type */ public static final int ELLIPSE = 1; /** Line Type */ public static f...
478
github-java-corpus
2,012
package org.newdawn.slick.svg; import java.util.ArrayList; import org.newdawn.slick.geom.MorphShape; /** * A utility to allow morphing between a set of similar SVG diagrams * * @author kevin */ public class SVGMorph extends Diagram { /** The list of figures being morphed */ private ArrayList figu...
872
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.TexCoordGenerator; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.geom.Vector2f; /** * A filler to apply a SVG radial gradient across a shape * * @author kevin */ public class RadialGr...
483
github-java-corpus
2,012
package org.newdawn.slick.svg; import java.util.ArrayList; import java.util.HashMap; /** * A diagram read from SVG containing multiple figures * * @author kevin */ public class Diagram { /** The figures in the diagram */ private ArrayList figures = new ArrayList(); /** The pattern definitions */ ...
945
github-java-corpus
2,012
package org.newdawn.slick.svg; import org.newdawn.slick.SlickException; import org.w3c.dom.Element; /** * Exception indicating a failure to parse XML, giving element information * * @author kevin */ public class ParsingException extends SlickException { /** * Create a new exception * * @pa...
340
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.NonGeometricData; import org.newdawn.slick.svg.Parsi...
508
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.NonGeometri...
444
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.ParsingException; import org.w3c.dom.Element; /** * TODO: Document this class * * @author kevin */ public class Grou...
258
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.geom.Ellipse; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.NonGeometricD...
494
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.ParsingException; import org.w3c.dom.Element; /** * The description of a module which processes a single XML element from a...
270
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import java.util.StringTokenizer; import org.newdawn.slick.geom.Line; import org.newdawn.slick.geom.Polygon; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.newdawn.slick.svg.Loader; import...
957
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import java.util.StringTokenizer; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.NonGeometricData; import org.newdawn.slick.svg.ParsingException; import org.w3c.dom.Element; /** * A set of utility for processing the SVG documents produced by I...
1,581
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import org.newdawn.slick.svg.NonGeometricData; import org.w3c.dom.Element; /** * A custom non-geometric data type that can pass back any attribute * on the field. * * @author kevin */ public class InkscapeNonGeometricData extends NonGeometricData { /** The el...
272
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import java.util.ArrayList; import org.newdawn.slick.Color; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Gradient; import org.newdawn.slick.svg.Loader; import org.newdawn.slick.svg.ParsingException; import...
1,395
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import java.util.ArrayList; import java.util.StringTokenizer; import org.newdawn.slick.geom.Polygon; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.new...
814
github-java-corpus
2,012
package org.newdawn.slick.svg.inkscape; import java.util.ArrayList; import java.util.StringTokenizer; import org.newdawn.slick.geom.Path; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.Diagram; import org.newdawn.slick.svg.Figure; import org.newdaw...
901
github-java-corpus
2,012
package org.newdawn.slick.svg; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.newdawn.slick.SlickException; import org.newdawn.sli...
1,588
github-java-corpus
2,012
package org.newdawn.slick; import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Color; import java.awt.Font; import java.awt.GridLayout; import java.awt.Label; import java.awt.Panel; import java.awt.TextArea; import java.io.PrintWriter; import java.io.StringWrite...
3,383
github-java-corpus
2,012
package org.newdawn.slick.state; import java.util.HashMap; import java.util.Iterator; import org.newdawn.slick.Game; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.InputListener; import org.newdawn.slick.SlickException; im...
3,373
github-java-corpus
2,012
package org.newdawn.slick.state; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; /** * A simple state used an adapter so we don't have to implement all the event methods * every time. * * @author kevin */ public abstract class BasicGame...
1,034
github-java-corpus
2,012
package org.newdawn.slick.state; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.InputListener; import org.newdawn.slick.SlickException; /** * A single state building up part of the game. The state include rendering, logic and input handling * for the sta...
567
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.renderer.SGL; import org.newdawn.sli...
1,338
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.renderer.SGL; import org.newdawn.sli...
830
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition to fade out to a given colour * * @author kev...
609
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition that has no effect and instantly finishe...
388
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import java.util.ArrayList; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.render...
1,151
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition between two game states * * @author ...
487
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition to fade in from a given colour * * @author ke...
612
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition that will combine two states into one ef...
915
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition that ca...
761
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import java.util.ArrayList; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.GameState; import org.newdawn.slick.state.StateBasedGame; /** * A transition thats bui...
655
github-java-corpus
2,012
package org.newdawn.slick.state.transition; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.renderer.SGL; import org.newdawn.sli...
828
github-java-corpus
2,012
package org.newdawn.slick; /** * Description of classes capable of responding to controller events * * @author kevin */ public interface ControllerListener extends ControlledInputReciever { /** * Notification that the left control has been pressed on * the controller. * * @param controlle...
610
github-java-corpus
2,012
package org.newdawn.slick; /** * A listener that will be notified of keyboard, mouse and controller events * * @author kevin */ public interface InputListener extends MouseListener, KeyListener, ControllerListener { }
47
github-java-corpus
2,012
package org.newdawn.slick; import java.io.IOException; import java.io.OutputStream; import java.nio.ByteBuffer; import java.security.AccessController; import java.security.PrivilegedAction; import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; import org.lwjgl.Sys; import org.lwjgl.input.Cursor; ...
3,624
github-java-corpus
2,012
package org.newdawn.slick; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import org.newdawn.slick.util.Log; import org.newdawn.slick.util.ResourceLoader; /** * A sprite sheet packed and defined by the Pacific Software Image Packer a...
1,400
github-java-corpus
2,012
package org.newdawn.slick; import java.io.IOException; import java.io.InputStream; import org.lwjgl.opengl.EXTSecondaryColor; import org.lwjgl.opengl.EXTTextureMirrorClamp; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GLContext; import org.newdawn.slick.opengl.ImageData; import org.newdawn.slick.op...
10,521
github-java-corpus
2,012
package org.newdawn.slick.particles; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import org.newdawn.slick.Color; import org.newdawn.slick.Image; import org.newdawn.slick.SlickException; import org.newdawn.slick.geom.Vecto...
5,627
github-java-corpus
2,012
package org.newdawn.slick.particles; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import o...
4,312
github-java-corpus
2,012
package org.newdawn.slick.particles; import org.newdawn.slick.Image; /** * An emitter is responsible for producing the particles and controlling them during * their life. An implementation of this interface can be considered a particle * effect. * * @author kevin */ public interface ParticleEmitter {...
544
github-java-corpus
2,012
package org.newdawn.slick.particles.effects; import org.newdawn.slick.Image; import org.newdawn.slick.particles.Particle; import org.newdawn.slick.particles.ParticleEmitter; import org.newdawn.slick.particles.ParticleSystem; /** * A stock effect for fire usin the particle system * * @author kevin */ p...
979
github-java-corpus
2,012
package org.newdawn.slick.particles; import org.newdawn.slick.Color; import org.newdawn.slick.Image; import org.newdawn.slick.opengl.TextureImpl; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.renderer.SGL; /** * A single particle within a system * * @author kevin ...
3,046
github-java-corpus
2,012
package org.newdawn.slick.particles; /** * A description of any class that can create Configurable Emitters during the ParticleIO * load phase. * * @author kevin */ public interface ConfigurableEmitterFactory { /** * Create a configurable emitter that will be populated with * loaded data * ...
104
github-java-corpus
2,012
package org.newdawn.slick.particles; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.ArrayList; import javax.xml.parsers.DocumentBui...
6,153
github-java-corpus
2,012
package org.newdawn.slick.tests.states; import org.newdawn.slick.AngelCodeFont; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; import org.newdawn....
740
github-java-corpus
2,012
package org.newdawn.slick.tests.states; import org.newdawn.slick.AngelCodeFont; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; import org.newdawn....
776
github-java-corpus
2,012
package org.newdawn.slick.tests.states; import org.newdawn.slick.AngelCodeFont; import org.newdawn.slick.Color; import org.newdawn.slick.Font; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Image; import org.newdawn.slick.Input; import org.newdawn.slick.Sli...
678
github-java-corpus
2,012
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; /** * The double click testing * * @author kevin */ public class DoubleC...
477
github-java-corpus
2,012
package org.newdawn.slick.tests; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; import org.lwjgl.opengl.GL11; import org.newdawn.slick.Co...
1,847
github-java-corpus
2,012
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Image; import org.newdawn.slick.Input; import org.newdawn.slick.Sl...
1,170
github-java-corpus
2,012
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; /** * A test f...
1,111
github-java-corpus
2,012
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; /** * A test t...
750
github-java-corpus
2,012
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.geom.Polygon; /** * A...
556