/* DummyVob.java * * Copyright (c) 2002, Ted Nelson and Tuomas Lukka * * You may use and distribute under the terms of either the GNU Lesser * General Public License, either version 2 of the license or, * at your choice, any later version. Alternatively, you may use and * distribute under the terms of the XPL. * * See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of * the licenses. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README * file for more details. * */ /* * Written by Tuomas Lukka */ package gzz.vob.vobs; import gzz.vob.*; /** A dummy vob which doesn't do anything much; useful for testing vobscenes. * We might put in some good methods for debugging later. */ public class DummyVob extends Vob { public static final String rcsid = "$Id: DummyVob.java,v 1.1 2002/11/02 01:23:46 benja Exp $"; String name; public void render(java.awt.Graphics g, boolean fast, RenderInfo info1, RenderInfo info2 ) { } public DummyVob() { } public DummyVob(String s) { this.name = s; } public String toString() { if(name == null) return super.toString(); return "DummyVob("+name+")"; } }