/** * Copyright (c) 2012-2013 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; /* * Implements Monza track. */ public class Monza extends Track { public Monza(LapListener listener) { super(listener); setTrack("/monza.png"); addGate(new Gate(this, 129, 111, 201, 191)); addGate(new Gate(this, 368, 16, 335, 118)); addGate(new Gate(this, 335, 161, 404, 246)); addGate(new Gate(this, 319, 364, 393, 282)); addGate(new Gate(this, 450, 471, 536, 538)); addGate(new Gate(this, 78, 400, 157, 330)); setCarStartPosition(140, 193); setCarStartFrame(4); } }