Seissenberg.java
/*
* Copyright © 2011 Nokia Corporation. All rights reserved.
* Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
* Oracle and Java are trademarks or registered trademarks of Oracle and/or its
* affiliates. Other product and company names mentioned herein may be trademarks
* or trade names of their respective owners.
* See LICENSE.TXT for license information.
*/
package com.nokia.example.racer.views.tracks;
import com.nokia.example.racer.views.components.Gate;
import com.nokia.example.racer.views.components.Track;
public class Seissenberg extends Track{
public Seissenberg(LapListener listener) {
super(listener);
setTrack("/seissenberg.png");
addGate(new Gate(273,568,211,461));
addGate(new Gate(48,474,185,457));
addGate(new Gate(132,277,335,255));
addGate(new Gate(250,55,322,162));
addGate(new Gate(445,131,556,106));
addGate(new Gate(174,388,366,385));
setCarPosition(97,123);
setStartPosition(-181,-275);
setPosition(47,218);
setCarStartFrame(16);
}
}