00001 // 00002 // SpriteAnimationFrame.java 00003 // CGP-2D-Engine 00004 // 00005 // Created by Ryan Ruff on 3/11/09. 00006 // Copyright 2009 ClassroomGamingProject.org. All rights reserved. 00007 // 00008 // This program is free software: you can redistribute it and/or modify 00009 // it under the terms of the GNU General Public License as published by 00010 // the Free Software Foundation, either version 3 of the License, or 00011 // (at your option) any later version. 00012 // 00013 // This program is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 // GNU General Public License for more details. 00017 // 00018 // You should have received a copy of the GNU General Public License 00019 // along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 package org.classroomgaming.cgp; 00021 00022 import java.util.*; 00023 00029 public final class SpriteAnimationFrame { 00030 00031 public final String imageName; 00032 public final int imageID; 00033 public final float duration; 00034 00035 public SpriteAnimationFrame(String n, int i, float d) { 00036 imageName = n; 00037 imageID = i; 00038 duration = d; 00039 } 00040 }
1.5.8