All pastes #399173 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-17 20:09 UTC
rendered paste body
package car;

import racer2d.core.*;

import racer2d.core.event.*;
import org.newdawn.slick.geom.*;
import org.newdawn.slick.*;
import racer2d.util.RacerUtil;

/**
 * Scripted Car. 
 *
 * @author davedes
 */
public class Taxi extends Car {
    
    /** Creates a new instance of Taxi */
    public Taxi() {
        super();
    }
    
    /** Initialises the Taxi car by loading images and setting bounds. */
    public void init(GameContainer c) throws SlickException {
        image = new Image("res/taxi.png");
        setWidth(image.getWidth());
        setHeight(image.getHeight());
    }
}