code
stringlengths
3
1.18M
language
stringclasses
1 value
// Copyright 2011 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; import com.google.android.apps.mytracks.content.Waypoint; import com.google.android.apps.mytracks.io.AuthManager; import com.google.android.maps.GeoPoint; import com.google.android.maps.mytracks.R; import com.google....
Java
// Copyright 2009 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; import com.google.android.maps.GeoPoint; /** * A rectangle in geographical space. */ class GeoRect { public int top; public int left; public int bottom; public int right; public GeoRect() { top = 0;...
Java
// Copyright 2009 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; import com.google.android.maps.GeoPoint; import java.util.Random; import java.util.Vector; /** * MyMapsFeature contains all of the data associated with a feature in My Maps, * where a feature is a marker, line, o...
Java
// Copyright 2009 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; /** * Metadata about a maps feature. */ class MyMapsFeatureMetadata { private static final String BLUE_DOT_URL = "http://maps.google.com/mapfiles/ms/micons/blue-dot.png"; private static final int DEFAULT...
Java
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; import com.google.android.apps.mytracks.io.AuthManager; import com.google.android.apps.mytracks.io.gdata.GDataClientFactory; import com.google.android.common.gdata.AndroidXmlParserFactory; import com.google.wireless....
Java
// Copyright 2009 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; /** * Metadata about a "my maps" map. */ class MyMapsMapMetadata { private String title; private String description; private String gdataEditUri; private boolean searchable; public MyMapsMapMetadata() {...
Java
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io.mymaps; import com.google.wireless.gdata.data.StringUtils; import com.google.wireless.gdata.parser.ParseException; import com.google.wireless.gdata.parser.xml.XmlGDataParser; import com.google.wireless.gdata.parser.xml.XmlPa...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 2010 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 2008 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 2008 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 2007 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 i...
Java
/* * Copyright 2009 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2008 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 i...
Java
/* * Copyright 2010 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 2009 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 i...
Java
/* * Copyright 2008 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 i...
Java
/* * Copyright 2008 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 2008 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2009 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 i...
Java
/* * Copyright 2009 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/* * Copyright 2010 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 i...
Java
/** * * @author Simon */ import java.awt.GridLayout; import javax.swing.JButton; import javax.swing.JFrame; public class QuickSum extends JFrame { public static void main(String[] args) { QuickSum program = new QuickSum(); program.setLayout(new GridLayout(3, 3)); JButton one = new J...
Java
package View; import View.SlidePuzzleGUI; import java.util.Timer; import java.util.TimerTask; /** * * @author Simon Marshall - jc209673 */ public class GameTimer { /** * This class is meant to be part of SlidePuzzleGUI.java */ private int counter = 0; private SlidePuz...
Java
package View; // The SlidePuzzleGUI class creates a panel which contains two subpanels. // 1. In the north is a subpanel for controls (just a play button for now). // 2. In the center a graphics import Model.SlidePuzzleModel; import java.awt.*; import java.awt.event.*; import javax.swing.*; // class SlidePu...
Java
package View; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.LookAndFeel; /** * * @author Simon Marshall - jc209673 */ public class MenuHandler { /** * This class is meant to handle the game's menu system and it would be linked to the GridSize class so it can handle ...
Java
package View; import View.SlidePuzzleGUI; import java.util.Timer; import java.util.TimerTask; /** * * @author Simon Marshall - jc209673 */ public class MoveCounter { /** * This class is meant to be part of SlidePuzzleGUI.java */ private int counter = 0; private Sl...
Java
package Controller; /** * This program consists of nine files: Controller Package (Gridsize.java, MyLogger.java and SlidePuzzle.java) * that controls the main functionality of the program and is aware of the other packages and methods inside of them, * Model Package (SlidePuzzleModel.java and Tile.java) that ...
Java
package Controller; import java.awt.Font; /** * * @author Simon Marshall - jc209673 */ public class GridSize { /** * A class to handle the changing the grid size from 3x3 to 6x6 and is linked with the MenuHandler class */ private static final int ROWS = 4; private static final int COLS ...
Java
package Controller; /** * * @author Simon Marshall - jc209673 */ public class MyLogger { /* * class to handle the logging of events to a JTextArea and a log file */ }
Java
package Model; /** * * @author Simon Marshall - jc209673 */ public class Tile { /** * @author Simon Marshall - jc209673 */ private int _row; // row of final position private int _col; // col of final position private String _face; // string to display /** * * @pa...
Java
package Model; import View.GameTimer; import javax.swing.JOptionPane; /** * * @author Simon Marshall - jc209673 */ public class SlidePuzzleModel { private static final int ROWS = 4; private static final int COLS = 4; private Tile[][] _contents; // All tiles. private Tile _emptyTile;...
Java
package View; import javax.swing.JPanel; /** * * @author Simon Marshall */ public class Display extends JPanel { }
Java
package View; import javax.swing.JButton; import javax.swing.JFrame; /** * * @author Simon Marshall */ public class MyFrame extends JFrame { private JButton jbutton; }
Java
package Controller; /** * * @author Simon Marshall */ public class Simulator { }
Java
package Model; /** * * @author Simon Marshall */ public class Randomization { }
Java
package Model; /** * * @author Simon Marshall */ public class Highscores { }
Java
package View; // The SlidePuzzleGUI class creates a panel which contains two subpanels. // 1. In the north is a subpanel for controls (just a play button for now). // 2. In the center a graphics import Controller.MoveCounter; import Controller.GameTimer; import Model.SlidePuzzleModel; import java.awt.*; impor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Controller; import java.util.TimerTask; /** * * @author Simon */ public class Timer { Timer timer; int counter; public Timer() { counter = 0; timer = new Timer(); new Ti...
Java
package Controller; import View.SlidePuzzleGUI; import java.util.Timer; import java.util.TimerTask; /** * * @author Simon Marshall - jc209673 */ public class GameTimer { private int counter = 0; private SlidePuzzleGUI UI; Timer timer; private boolean active = false; /** ...
Java
package Controller; // This program consists of three files: SlidePuzzle.java (Controller), SlidePuzzleGUI.java (View) and SlidePuzzleModel.java (Model/Logic) import View.SlidePuzzleGUI; import javax.swing.JFrame; /** * * @author Simon Marshall - jc209673 */ public class SlidePuzzle { /** *...
Java
package Controller; import View.SlidePuzzleGUI; import java.util.Timer; import java.util.TimerTask; /** * * @author Simon Marshall - jc209673 */ public class MoveCounter { private int counter = 0; private SlidePuzzleGUI UI; Timer timer; private boolean active = false; pri...
Java
package Model; /** * * @author Simon Marshall - jc209673 */ public class SlidePuzzleModel { private static final int ROWS = 4; private static final int COLS = 4; private Tile[][] _contents; // All tiles. private Tile _emptyTile; // The empty space. // constructor /** *...
Java
import java.util.Scanner; public class RadiusCalc { public static void main(String[] args) { System.out.println("Enter the area: "); Scanner input = new Scanner(System.in); double area = input.nextDouble(); if (area > 0) { double radius = Math.sqrt(area / Math.PI);...
Java
/** Automatically generated file. DO NOT MODIFY */ package com.caverock.androidsvg; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
package com.caverock.androidsvg; /* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/L...
Java
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
Java
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
Java
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
Java
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
Java
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
Java
package com.mani.fifteenpuzzle; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.graphics.Typeface; import android.view.Display; import android.view.View; import android.view.Window; import android.view.WindowManager; impo...
Java
package com.mani.fifteenpuzzle; import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.Display; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.vie...
Java
package com.mani.fifteenpuzzle; import java.util.ArrayList; import java.util.Random; import android.app.Application; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.pm.ApplicationInfo; import android.os.Handler; import android.preference.PreferenceMan...
Java
package com.mani.fifteenpuzzle; import java.util.ArrayList; import java.util.Random; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graph...
Java
package com.mani.fifteenpuzzle; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Rect; public class numbers { public Bitmap img; // the image of the numbers private int coordX = 0; // the x coordinate at the canvas private int coordY...
Java
package com.mani.fifteenpuzzle; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.Typeface; import android.media.MediaPlayer; import android.view.MotionEvent; import android.view.View;...
Java
package com.mani.fifteenpuzzle; import android.app.ListActivity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Typeface; import android.os.Bundle; import android.view.Display; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import...
Java
package com.mani.fifteenpuzzle; import android.app.Dialog; import android.content.Context; import android.graphics.Typeface; import android.view.Display; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.view.View.OnClickListener; import android.widget.Button; i...
Java
package bean; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; public class ScoreDTO { private ScoreVO vo=null; private Connection conn= null; // 페이지와 관련된 변수 int listSize = 10; // 페이지당 표시되는 행수 int blockSize = 3; // 힌블럭당 포시되는 ...
Java
package bean; public class ScoreVOBackUp { private int grade; private int point; private String score; private String mid; private String examdate; private String exam; private String school; private String locate; private int rank; public ScoreVOBackUp() { this.grade = 0; this.point =...
Java
package bean; import javax.servlet.http.HttpServletRequest; public class MemberVO2 { private String mid = ""; private String pwd = ""; private String irum = ""; private String phone = ""; private String birth = ""; private String address = ""; private String gender = ""; private String marry = "...
Java
package bean; import java.sql.Connection; import java.sql.DriverManager; public class MyOracle { Connection conn;//객체를 반환받는것이 가장 중요합니다. public MyOracle() { //드라이버 생성 및 DB계정 접속 String driver = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@127.0.0.1:1521:xe"; String u...
Java
package bean; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.awt.image.renderable.ParameterBlock; import java.io.File; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.Enumeration; import ja...
Java
package bean; import javax.servlet.http.HttpServletRequest; public class MemberVO { private String mid = ""; private String pwd = ""; private String irum = ""; private String phone = ""; private String birth = ""; private String address = ""; private String gender = ""; private String marry = ""...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * clase a partir de la cual se crea el ladrillo8 * * @author Omar Espino * @version 11/20/2014 */ public class Ladrillo8 extends Obstaculo { /**constructor de la clase en el cual se invoca al metodo crear*/ p...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que contiene la velocidad y direccion de todos los enemigo en el juego * * @author Omar Espino * @version 20/11/2014 */ public class Enemigo extends Actor { private int velocidad; private int direccion...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * A Counter class that allows you to display a numerical value on screen. * * The Counter is an actor, so you will need to create it, and then add it to * the world in Greenfoot. If you keep a reference to ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * clase a partir de la cual se crean plataformas donde no se podra brincar * * @author Omar Espino * @version 20/11/2014 */ public class Plataforma2 extends Obstaculo { private final int DISTANCIA=2; private ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * clase a partir de la cual se crea el ladrillo * * @author Omar Espino * @version 11/20/2014 */ public class Piso8 extends Ladrillo8 { private Ladrillo8 []arregloLadrillo; /**constructor de la clase en ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Pisoverde here. * * @author (your name) * @version (a version number or a date) */ public class Pisoverde extends Ladrillo2 { private Ladrillo2 []arregloLadrillo; public Pi...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.List; /** * Clase que crea el mundo principal del juego * * @author Omar Espino * @version 26/11/2014 */ public class MundoIceClimber extends World { private Popo personaje; private Martillo miMart...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * clase a partir de la cual se crean los pack de cuchillos * * @author Omar Espino * @version 20/11/2014 */ public class Cuchillos extends Armas { /**metodo principal de como actuaran los cuchillos*/ publ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea los objetos osos polares en el juego segun se requieran y contiene las caracteristicas de los mismos * * @author Omar Espino * @version 20/11/2014 */ public class Osopolar extends Enemigo { pr...
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 BotonScores here. * * @author (your name) * @version (a version number or a date) */ public class BotonScores extends Boton { private ScoreBoard scoreB=new ScoreBoard(400,400); /...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Piso here. * * @author (your name) * @version (a version number or a date) */ public class Piso extends Ladrillo { private Ladrillo []arregloLadrillo; public Piso() { ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** *clase a partir de la cual se crea la base derecha 2 * * @author Omar Espino * @version 20/11/2014 */ public class Base2der extends Baseder { }
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class BotonAyuda here. * * @author (your name) * @version (a version number or a date) */ public class BotonAyuda extends Boton { /** * Act - do whatever the BotonAyuda wants to do. T...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase a partir de la cual se crean los pisos de bloques en el escenario * * @author Omar Espino * @version 20/11/2014 */ public class Pisobloque extends Bloque { private Bloque []arregloBloque; /**co...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase a partir de la cual se crea la llave2 * * @author Omar Espino * @version 27/11/2014 */ public class Llave2 extends Objetos { private boolean deboSeguir; /**constructor el cual inializa la variable que...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * clase a partir de la cual se crea el piso5 * * @author Omar Espino * @version 11/20/2014 */ public class Piso5 extends Ladrillo5 { private Ladrillo5 []arregloLadrillo; /**constructor de la clase en el cual se...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase en la que se crean las llamas arrojadas por el jefe * * @author Omar Espino * @version 27/11/2014 */ public class Llama extends Jefe { /** * Act - do whatever the Llama wants to do. This method is call...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase principal de los objetos * * @author (your name) * @version (a version number or a date) */ public class Objetos extends Actor { }
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Boton here. * * @author (your name) * @version (a version number or a date) */ public class Boton extends Objetos { /** * Act - do whatever the Boton wants to do. This method is...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para crear el jefe del juego * * @author Omar Espino * @version 27/11/2014 */ public class Jefe extends Enemigo { private GreenfootImage parado; private GreenfootImage brincando; private int movimi...
Java