/** * 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; /* * Impelements EightLoop track. */ public class EightLoop extends Track { public EightLoop(LapListener listener) { super(listener); setTrack("/eightloop.png"); addGate(new Gate(this, 107, 491, 205, 456)); addGate(new Gate(this, 201, 268, 280, 347)); addGate(new Gate(this, 326, 230, 405, 300)); addGate(new Gate(this, 433, 36, 385, 132)); addGate(new Gate(this, 174, 193, 281, 190)); addGate(new Gate(this, 329, 382, 428, 341)); addGate(new Gate(this, 305, 457, 354, 549)); setCarStartPosition(211, 523); setCarStartFrame(28); } }