00001 00002 // 00003 // Linker.java 00004 // CGP-2D-Engine 00005 // 00006 // Originally created by Ryan Ruff, 1996. 00007 // Copyright 2009 ClassroomGamingProject.org. All rights reserved. 00008 // 00009 // This program is free software: you can redistribute it and/or modify 00010 // it under the terms of the GNU General Public License as published by 00011 // the Free Software Foundation, either version 3 of the License, or 00012 // (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU General Public License 00020 // along with this program. If not, see <http://www.gnu.org/licenses/>. 00027 package cgp; 00028 00029 class Linker { 00030 00031 int myx; 00032 int myy; 00033 String togoto; 00034 00035 public Linker(int i, int j, String string) { 00036 00037 myx = i; 00038 myy = j; 00039 togoto = string; 00040 return; 00041 } 00042 00043 public int getX() { 00044 return (myx); 00045 } 00046 00047 public int getY() { 00048 return (myy); 00049 } 00050 00051 public String getURL() { 00052 return (togoto); 00053 } 00054 }
1.5.8