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()); } }