code
stringlengths
3
1.18M
language
stringclasses
1 value
//package com.h117121.fashionshop.core.dao; // //import java.util.Date; //import java.util.List; // //import com.h117121.fashionshop.core.dao.generic.GenericDao; //import com.h117121.fashionshop.core.dom.Comment; //import com.h117121.fashionshop.core.dom.DateQueryType; // // //public interface CommentDao exte...
Java
//package com.h117121.fashionshop.core.dao; // //import com.h117121.fashionshop.core.dao.generic.GenericDao; //import com.h117121.fashionshop.core.dom.AdsCustomer; // //public interface AdsCustomerDao extends GenericDao<AdsCustomer, Long> { //}
Java
//package com.h117121.fashionshop.core.dao; // //import com.h117121.fashionshop.core.dao.generic.GenericDao; //import com.h117121.fashionshop.core.dom.Advertisement; // //public interface AdvertisementDao extends GenericDao<Advertisement, Long> { // }
Java
package com.h117121.fashionshop.core.dao; import java.text.MessageFormat; import java.util.Date; import java.util.List; import org.springframework.stereotype.Repository; import com.h117121.fashionshop.core.dao.generic.GenericDaoImpl; import com.h117121.fashionshop.core.dom.DateQueryType; import com.h117121...
Java
package com.h117121.fashionshop.core; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.h117121.fashionshop.core.tool.DataGenerator; ...
Java
package com.h117121.fashionshop.core.dom; import org.springframework.web.multipart.MultipartFile; @SuppressWarnings("serial") public class AdsImageForm extends BaseDom { private MultipartFile imageRight; private MultipartFile imageLeft; public MultipartFile getImageRight() { return imageRight; } ...
Java
package com.h117121.fashionshop.core.dom; public class SimpleQuery { private String keyWord; public String getKeyWord() { return keyWord; } public void setKeyWord(String keyWord) { this.keyWord = keyWord; } }
Java
package com.h117121.fashionshop.core.dom; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.persistence.Transient; import org.springframework.web.mul...
Java
package com.h117121.fashionshop.core.dom; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.FetchType; import ...
Java
//package com.h117121.fashionshop.core.dom; // //import java.util.Date; // //import javax.persistence.Column; //import javax.persistence.Entity; //import javax.persistence.JoinColumn; //import javax.persistence.ManyToOne; //import javax.persistence.Table; // //@SuppressWarnings("serial") //@Entity //@Table(...
Java
package com.h117121.fashionshop.core.dom; public class ProductQuery { private String keyWord; private String productName; private String producerName; private String productType; private String productMadein; private Integer priceFrom; private Integer priceTo; /** * @return the productName ...
Java
package com.h117121.fashionshop.core.dom; import java.util.ArrayList; import java.util.List; public class Cart { private List<ProductInCart> items; private long total; private int numItems; public Cart() { setItems(new ArrayList<ProductInCart>()); } public void add(Product product) { for (P...
Java
//package com.h117121.fashionshop.core.dom; // //import javax.persistence.Column; //import javax.persistence.Entity; //import javax.persistence.Table; // //@SuppressWarnings("serial") //@Entity //@Table(name="AdsCustomer") //public class AdsCustomer extends BaseDom{ // @Column(name="Name", length=200, nullabl...
Java
package com.h117121.fashionshop.core.dom; public class Report { private String name; private String displayName; private String link; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getDisplayName() { return displayName...
Java
package com.h117121.fashionshop.core.dom; import java.util.ArrayList; import java.util.List; public class ResultPage { @SuppressWarnings("rawtypes") public ResultPage() { this.currentPage = 0; this.numPage = 0; this.numItems = 0; this.result = new ArrayList(); } private long currentPage; ...
Java
package com.h117121.fashionshop.core.dom; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.Version; @SuppressWarni...
Java
package com.h117121.fashionshop.core.dom; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @SuppressWarnings("serial") @Entity @Table(name = "ProductInInvoice") public class ProductInInvoice extends BaseDom { @Column(name = "ProductId", nullable = false) p...
Java
package com.h117121.fashionshop.core.dom; public enum DateQueryType { EXACTLY, BEFORE, AFTER }
Java
//package com.h117121.fashionshop.core.dom; // //import java.util.Date; // //import javax.persistence.Column; //import javax.persistence.Entity; //import javax.persistence.JoinColumn; //import javax.persistence.ManyToOne; //import javax.persistence.Table; // //@SuppressWarnings("serial") //@Entity //@Table(...
Java
package com.h117121.fashionshop.core.dom; import com.h117121.fashionshop.constant.AppConstant; public class SettingForm { int numItemPerPage = AppConstant.NUM_ITEM_PER_PAGE; int numMaxItemLeftPanel = AppConstant.NUM_MAX_ITEM_LIST_LEFTPANEL; int numSimilarItem = AppConstant.NUM_SIMILAR_ITEM; int numMostSol...
Java
package com.h117121.fashionshop.core.dom; public class DepositCard { private String serial; public String getSerial() { return serial; } public void setSerial(String serial) { this.serial = serial; } }
Java
package com.h117121.fashionshop.core.dom; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; import javax.persistence.Table; ...
Java
package com.h117121.fashionshop.core.dom; import java.util.Date; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.FetchType; import javax.persistence.OneToMany; import jav...
Java
package com.h117121.fashionshop.core.dom; public class ProductInCart { private Product product; private int quantity; public ProductInCart(Product product) { this.product = product; this.quantity = 1; } public ProductInCart(Product product, int quantity) { this.product = product; this.quan...
Java
package com.h117121.fashionshop.core.dom; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; import javax.persistence.Table; ...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.Account; public class LoginValidator implements Validator { @SuppressWarni...
Java
package com.h117121.fashionshop.validator; import org.apache.commons.lang3.StringUtils; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.constant.AppConstant; import com.h117121....
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.Producer; import com.h117121.fashionshop.core.dom.ProductType; public class...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.AdsImageForm; public class AdsValidator implements Validator { @SuppressWarnings("rawtypes") @Override public boolean suppor...
Java
package com.h117121.fashionshop.validator; import org.apache.commons.lang3.StringUtils; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.constant.AppConstant; import com.h117121....
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.SettingForm; public class SettingValidator implements Validator { @Suppr...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.ProductQuery; public class ProductQueryValidator implements Validator { ...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.Product; public class UpdateProductValidator implements Validator { @Sup...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.Account; import com.h117121.fashionshop.core.tool.Utils; public class UpdateAccountValidator implements Validator { @SuppressWarn...
Java
package com.h117121.fashionshop.validator; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import com.h117121.fashionshop.core.dom.DepositCard; public class DepositValidator implements Validator { @SuppressWarnings("rawtypes") @Override public boolean sup...
Java
package com.h117121.fashionshop.customeditor; import java.beans.PropertyEditorSupport; import java.util.ArrayList; import java.util.List; import com.h117121.fashionshop.core.dom.BaseDom; public class BaseDomCustomEditor<T extends BaseDom> extends PropertyEditorSupport { private List<T> entities = new Ar...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
package net.majorkernelpanic.spydroid.api; import net.majorkernelpanic.streaming.Session; import net.majorkernelpanic.streaming.rtsp.RtspServer; public class CustomRtspServer extends RtspServer { public CustomRtspServer() { super(); // RTSP server disabled by default mEnabled = false; } }
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
package net.majorkernelpanic.spydroid; /** * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999. * * This program is free software; you can redistribute it and/or modify * it under the terms of the latest version of the GNU Lesser General * Public License as published by the Fr...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * With the help of Havlena Petr, havlenapetr@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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; eit...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
package net.majorkernelpanic.streaming.audio; public class AACNotSupportedException extends RuntimeException { private static final long serialVersionUID = -2637694735773976250L; public AACNotSupportedException() { super("AAC not supported by this phone !"); } }
Java
package net.majorkernelpanic.streaming.audio; import java.io.IOException; import net.majorkernelpanic.streaming.MediaStream; import android.media.MediaRecorder; import android.util.Log; /** * Don't use this class directly. */ public abstract class AudioStream extends MediaStream { protected int mAudioSource; ...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
/* * Copyright (C) 2011 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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; eit...
Java
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * La clase donde se adquiere la imagen del usuario * @author (Carlos Andrés Olea Reyes) */ public class UserImage extends Actor { /** * Este es el constructor de la clase UserImage lleva como parametro una imagen. ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase boton record donde se accede alos records del juego * * @author (Carlos Andrés Olea Reyes) * */ public class BotonA extends Buttons { /** * no realiza ningun movimiento solo espera la accion del usuar...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * la clase corn es una subclase de la clase ave la cual tambien quita puntos al jugador al * ser tocada por el jugador * @author (Carlos Andrés Olea Reyes) */ public class corn extends Bird { /** * su mo...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * muestra la altura en la cual esta descendiendo el paracaidista * * @author (Carlos Andres Olea Reyes) */ public class Altura extends ScrollActor { private int altura; private boolean sound;...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Record_User here. * * @author (your name) * @version (a version number or a date) */ public class RecordUser { private Letrero nombre; private Letrero puntos; private UserImag...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * Esta clase sirve para que muestre el numero de vidas dentro del juego * * @author (Carlos Andrés Olea Reyes) */ public class PuntajeV extends ScrollActor { private int vidas; /** * es...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Es la clase padre boton donde almacena los botones a utilizar en el menu del juego * @author (Carlos Andrés Olea Reyes) */ public class Buttons extends ScrollActor { /** * no actua solo espera acciones del usua...
Java
import greenfoot.*; import java.awt.Color; /** *Its the world where the skydiver are going to play stratos fear * * @author Carlos Andrés Olea Reyes */ public class World1 extends ScrollWorld { private GreenfootSound worldSound= new GreenfootSound("world_1_stage.mp3"); private Puntaje puntaje1...
Java
import greenfoot.*; import java.util.ArrayList; /** * A world which has the possibility to scroll * over a really big area. That big area is called * the big space, It scrolls over it using a camera. * The camera's location starts as x=half width, y=half height * of the world. It can't get outside of the ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase boton record donde se accede alos records del juego * * @author (Carlos Andrés Olea Reyes) * */ public class botonI extends Buttons { /** * no realiza ningun movimiento solo espera la accion del usuar...
Java
import greenfoot.*; /** * * La clase Anillo la cual sus hijos haran que el jugador hagan que obtenga los puntos al tocar * tambien contiene metodos polimorficos * @author Carlos Andrés Olea Reyes * @author Sven van Nigtevecht */ public abstract class Anillo extends ScrollActor { private boolean sem...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Es la clase ayuda la cual guiara al usuario a saber como operar en el juego * * @author (Carlos Andrés Olea Reyes) */ public class Ayuda extends ScrollWorld { private GreenfootSound helpSound= new GreenfootSound("h...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Records here. * * @author (Carlos Andrés Olea Reyes) * la clase records donde se posicionaran las mejores puntuaciones del juego */ public class Records extends ScrollWorld { private ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * * la clase Redring hijo de anillo es una clase que hara que auemnte el puntaje * si el jugador lo toca * @author (Carlos Andrés Olea Reyes) * @version (a version number or a date) */ public class Redring extends Anill...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase boton record donde se accede alos records del juego * * @author (Carlos Andrés Olea Reyes) * */ public class botonR extends Buttons { /** * no realiza ningun movimiento solo espera la accion del usuar...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * la clase Bluering hijo de anillo es una clase que hara que auemnte el puntaje * si el jugador lo toca * @author (your name) * @version (a version number or a date) */ public class BLuering extends Anillo { ...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * la clase letrero utilizada en el juego para diferentes propositos * @author (Carlos Andrés Olea Reyes) */ public class Letrero extends ScrollActor { private String letrero; /** * el...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Es subclase de Cloud y tambien pertence a Obstacles y haran que le reste puntos al jugador * * @author (Carlos Andrés Olea Reyes) */ public class thunder extends Cloud { /** *su movimiento es hacia abajo y ha...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * otra subclase de Obstacle la cual tambien se le restaran puntos si el jugador * @author (Carlos Andrés Olea Reyes) */ public class Hotairballon extends Obstacles { /** * su actuar es diferent...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase boton record donde se accede alos records del juego * * @author (Carlos Andrés Olea Reyes) * */ public class buttonB extends Buttons { /** * no realiza ningun movimiento solo espera la accion del usua...
Java
import greenfoot.*; /** * An actor which ca be in a ScrollWorld. * It has 3 types of locations: * A location where it really is. That means, the * location the space the camera is moving over. * This is the most important one. Access it by * the getGlobalX and the getGlobalY * methods. * A locatio...
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * otra subclase de Obstacle la cual tambien se le restaran puntos si el jugadorr la toca * * @author (Carlos Andrés Olea Reyes */ public class Cloud extends Obstacles { /** * manda a llamar el metod...
Java