code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package net.coobird.thumbnailator.resizers;
import java.awt.Dimension;
/**
* This class provides factory methods which provides suitable {@link Resizer}s
* for a given situation.
*
* <dl>
* <dt>{@code Resizer}s returned by this {@code ResizerFactory}:</dt>
* <dd>
* The {@link Resizer}s returned by... | Java |
/**
* This package provides classes which perform image resizing operations which
* is used to create thumbnails with Thumbnailator.
*/
package net.coobird.thumbnailator.resizers;
| Java |
package net.coobird.thumbnailator.resizers;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.Map;
/**
* Image resizer class using bicubic interpolation for the resizing operation.
*
* @author coobird
*
*/
public class BicubicResizer... | Java |
package net.coobird.thumbnailator.resizers;
import java.awt.image.BufferedImage;
/**
* This enum can be used to select a specific {@link Resizer} in order
* to perform a resizing operation.
* <p>
* The instance held by a value of this enum is a single instance. When using
* specific implementations of {... | Java |
package net.coobird.thumbnailator.resizers;
import java.awt.image.BufferedImage;
/**
* This interface is implemented by classes which perform resizing operations.
*
* @author coobird
*
*/
public interface Resizer
{
/**
* Resizes an image.
* <p>
* The source image is resized to fit the dime... | Java |
package net.coobird.thumbnailator.resizers;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* A class which performs a resize operation on a source image and outputs the
* re... | Java |
package net.coobird.thumbnailator.resizers;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.Map;
/**
* Image resizer class using bilinear interpolation for the resizing operation.
*
* @author coobird
*
*/
public class BilinearResiz... | Java |
package net.coobird.thumbnailator.builders;
import java.awt.Dimension;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.List;
import net.coobird.thumbnailator.ThumbnailParameter;
import net.coobird.thumbnailator.filters.ImageFilter;
import net.coobird.thumbnailator.resizers... | Java |
package net.coobird.thumbnailator.builders;
import java.awt.Dimension;
import java.awt.image.BufferedImage;
/**
* A builder for creating {@link BufferedImage} with specified parameters.
*
* @author coobird
*
*/
public final class BufferedImageBuilder
{
/**
* The default image type of the {@link... | Java |
/**
* This package provides classes which provides convenient builders for classes
* which are used by Thumbnailator.
*/
package net.coobird.thumbnailator.builders;
| Java |
package net.coobird.thumbnailator.filters;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import net.coobird.thumbnailator.util.BufferedImages;
/**
* An {@link ImageFilter} which will apply multiple {@link Ima... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.image.BufferedImage;
/**
* This interface is to be implemented by classes which performs an image
* filtering operation on a {@link BufferedImage}.
* <p>
* The general contract for classes implementing {@link ImageFilter} is that
* they should n... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
/**
* An image filter which will add a color tint to an image.
*
* @author coobird
*
*/
public final c... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.geometry.Position;
import net.coobird.thumbnailator.util.BufferedIm... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
/**
* A class containing flip transformation filters.
*
* @author coobird
*
*/
public class Flip {
/**
* An image filter... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
import net.coobird.thumbnailator.geometry.Position;
/**
* This class applies a... | Java |
/**
* This package provides classes which perform filtering operations on images,
* such as adding watermark, text captions, and color tints.
*/
package net.coobird.thumbnailator.filters;
| Java |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
/**
* An image filter which will make an image transparent.
* <p>
* The resulting image will always have an image type of
* {@link BufferedImage#TYPE_INT_ARGB}.
*... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
/**
* A class containing rotation filters.
* <p>
* Aside from the three {@link Rotator}s provided a... | Java |
package net.coobird.thumbnailator.filters;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.geometry.Position;
/**
* An {@link ImageFilter} which will enclose an image into a specified
* enclosing image.
* <p>... | Java |
package net.coobird.thumbnailator.name;
import net.coobird.thumbnailator.ThumbnailParameter;
/**
* This class is used to rename file names.
*
* @author coobird
*
*/
public abstract class Rename
{
/**
* A {@code Rename} which does not alter the given file name.
* <p>
* Note: The {@link #app... | Java |
/**
* This package contains classes used to generate file names when saving
* thumbnail images to files.
*/
package net.coobird.thumbnailator.name;
| Java |
package net.coobird.thumbnailator.name;
import java.io.File;
import java.io.IOException;
import java.util.Formatter;
import java.util.Iterator;
/**
* This class is used to produce file names based on a given format string
* and an internal counter which increments every time a new file name
* is produced... | Java |
package net.coobird.thumbnailator;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collectio... | Java |
/**
* This package contains utilities classes used by Thumbnailator.
*/
package net.coobird.thumbnailator.util;
| Java |
package net.coobird.thumbnailator.util;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import javax.imageio.ImageIO;
import javax.imageio.ImageWriter;
import net.coobird.thumbnailator.ThumbnailParameter;
/**
* A utility class for Thumbnailator.... | Java |
package net.coobird.thumbnailator.util.exif;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import javax.imageio.ImageReader;
import javax.imageio.metadata.IIOMetadata;
import javax.imageio.metadata.IIOMetadataNode;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
... | Java |
package net.coobird.thumbnailator.util.exif;
/**
* IFD structure as defined in Section 4.6.2 of the Exif Specification
* version 2.3.
*
* @author coobird
*
*/
public class IfdStructure
{
private final int tag;
private final IfdType type;
private final int count;
private final int offsetValue;
... | Java |
/**
* This package contains utilities classes used to handle Exif metadata.
*/
package net.coobird.thumbnailator.util.exif;
| Java |
package net.coobird.thumbnailator.util.exif;
/**
* This enum corresponds to the types of data present in an IFD,
* as defined in Section 4.6.2 of the Exif Specification version 2.3.
*
* @author coobird
*
*/
public enum IfdType
{
/**
* An 8-bit unsigned integer value.
*/
BYTE(1, 1),
/**
... | Java |
package net.coobird.thumbnailator.util.exif;
/**
* Representation for the Orientation (Tag 274) in the Exif metadata, as
* defined in Section 4.6.4 of the Exif Specification version 2.3.
*
* @author coobird
*
*/
public enum Orientation
{
/**
* Orientation 1.
* <ul>
* <li>First row: visual t... | Java |
package net.coobird.thumbnailator.util.exif;
import net.coobird.thumbnailator.filters.Flip;
import net.coobird.thumbnailator.filters.ImageFilter;
import net.coobird.thumbnailator.filters.Pipeline;
import net.coobird.thumbnailator.filters.Rotation;
/**
* An utility class which returns a suitable {@link ImageF... | Java |
package net.coobird.thumbnailator.util;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
/**
* This class provides convenience methods for using {@link BufferedImage}s.
*
* @author coobird
*
*/
public final class BufferedImages
{
/**
* This class is not intended to be instantiated... | Java |
package net.coobird.thumbnailator.test;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
public final class BufferedImageComparer
{
public static final boolean isSame(BufferedImage img0, BufferedImage img1)
{
int width0 = img0.getWidth();
int height0 = img0.getHeight();
int width1... | Java |
package net.coobird.thumbnailator.test;
import static org.junit.Assert.assertEquals;
import java.awt.Color;
import java.awt.Point;
import java.awt.image.BufferedImage;
import java.util.Arrays;
import java.util.List;
public class BufferedImageAssert {
/**
* Checks if the 3x3 pattern matches the give... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
package org.vintagephone.view.opengl;
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including witho... | Java |
package org.vintagephone;
import org.vintagephone.model.RadioLifecycle;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
public class RadioActivity extends Activity
{
private RadioLifecycle m_lifecycle;
@Override
... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
/**
* Copyright (c) 2011 Basil Shikin, VintageRadio Project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Play here.
*
* @author (Karen Gonzalez)
* @version (25/05/14)
*/
public class Play extends BotonesMenu
{
/**Variables de instancia de la clase play*/
private CatchWorld m;
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
import java.util.List;
/**
* An actor class that can display a scoreboard, using Greenfoot's
* UserInfo class.
*
* You typically use this by including some code into the world for when your game ends:
*
* <... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Dulce here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Dulce extends Bonus
{
public Dulce()
{
}
public void act()
{ ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Font; //
import java.awt.Color;
/**
* Write a description of class CatchWorld here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class CatchWorld extends World
{
/**Variables de inst... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Records here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Records extends BotonesMenu
{
/**Variable de instancia*/
private CatchWorld m;
/**Cons... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class time here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class time extends Actor
{
/**Variables de instancia*/
private boolean running = fa... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class Letrero here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Letrero extends Actor
{
/**Variables de instancia*/
private String letrer... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Bala here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Bala extends Actor
{
/**Variables de instancia de la clase Bala*/
private boolean dir;
private ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Fresa here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Fresa extends Fruta
{
/**Metodo actua de la clase fresa, se manda llamar los metodos a ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Gato here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Gato extends Enemigos
{
/**Variables de instancia de la clase Gato*/
private int velocidad;
pri... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Font; //
import java.awt.Color;
/**
* Write a description of class Roca here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Roca extends Actor
{
/**Variables de instancia de... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Leon here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Leon extends Enemigos
{
/**Variables de instancia de la clase Leon*/
private int dirAle;
priv... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class BotonesMenu here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class BotonesMenu extends Actor
{
/**
* Act - do whatever the BotonesMenu wants to do. This method... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Bonus here.
*
* @author (Karen Gonzalez )
* @version (29/05/14)
*/
public class Bonus extends Actor
{
public void act()
{
// Add your action code here.
}
}
| Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ayuda here.
*
* @author (Karen Gonzalez )
* @version (29/05/14)
*/
public class Ayuda extends BotonesMenu
{
/**Variables de instancia de la clase Ayuda*/
private CatchWorld m;
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Font; //
import java.awt.Color;
/**
* Write a description of class Llave here.
*
* @author (Karen Gonzalez)
* @version (25/05/14)
*/
public class Llave extends Actor
{
/**Constructor de la cla... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Regresar here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Regresar extends BotonesMenu
{
/**Variable de instancia*/
private CatchWorld m;
/**Co... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ladron here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Ladron extends Enemigos
{
/**Variables de instancia*/
private int contBala;
private bool... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Font; //
import java.awt.Color;
/**
* Write a description of class Jugador here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Jugador extends Actor
{
/**Variables de instancia*/
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Next here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Next extends BotonesMenu
{
/**Variables de instancia de la clase Next*/
private CatchWorld m;
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Martillo here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Martillo extends Bonus
{
/**Constructor de clase martillo, unicamente se le da una nu... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Fruta here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Fruta extends Actor
{
public void act()
{
}
public void JugadorToma... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Pocoyo here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Pocoyo extends Jugador
{
/**Metodo actua, donde se indica que ejecute los metodos de la clase super **/... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plataforma here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Plataforma extends Actor
{
/**Constructor de la clase Plataforma, se redimenciona la imagen*/
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Font; //
import java.awt.Color;
/**
* Write a description of class Vida here.
*
* @author Karen Gonzalez Almendarez
* @version (26/05/14)
*/
public class Vida extends Actor
{
/**Constructor... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Piña here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Piña extends Fruta
{
private CatchWorld mundo;
private Jugador pocoyo;
private Leo... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Creditos here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Creditos extends BotonesMenu
{
/**Variable de instancia*/
private CatchWorld m;
/**Co... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Enemigos here.
*
* @author (Karen Gonzalez)
* @version (29/05/14)
*/
public class Enemigos extends Actor
{
/**
* Act - do whatever the Enemigos wants to do. This method is calle... | Java |
/**
* A simple timer class that allows you to keep track of how much time
* has passed between events.
*
* You use this class by creating a timer as a member field in your actor (or whatever):
* <pre>
*
* private SimpleTimer timer = new SimpleTimer();
* </pre>
*
* Then when you want to start the timer (for... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Uva here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Uva extends Fruta
{
/**Constructor de la clase uva, se redimenciona la imagen con otra escala*... | Java |
/*
* Copyright 2013 Google Inc.
*
* 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... | Java |
/*
* Copyright 2013 Google Inc.
*
* 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... | Java |
/*
* Copyright (C) 2013 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 required by app... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
/*
* Copyright 2012 Google Inc.
*
* 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... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.