Java tutorial
/* Copyright [2014] [James Thomas Hayes] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package com.codefiddler.libgdx.spinit.level; import com.badlogic.gdx.graphics.Color; import com.codefiddler.libgdx.spinit.assets.SoundEffects; /** * Level 2 * * Each of the sections are 90 degrees. * @author james * */ public class Level1 extends Level { public Level1(SoundEffects soundEffects) { super(soundEffects); } public String getWheelPath() { return "data/level-1/level1-wheel.png"; } @Override public int howManyWheelSegments() { return 4; } @Override public String getTickFilenamePrefix() { return "data/level-1/level1-tick-"; } public Color getSegmentColor() { return Color.GRAY; } }