package de.romjaki.pluggabledino import org.newdawn.slick.* import org.newdawn.slick.opengl.TextureLoader import java.awt.Font import java.io.FileInputStream val splash = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/splash.png"))) val dinoSprites = SpriteSheet("assets/images/characters.png", 32, 32) val dinoAnimated = Animation(dinoSprites, intArrayOf( 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0 ), IntArray(8) { 100 }) val font = UnicodeFont(Font("Arial", Font.PLAIN, 14)) val buttonImage = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/button.png"))) val groundline = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/groundline.png"))) val cactusImg = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/cactus.png"))) val BirdImg = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/bird1.png"))) val anthemSound = Music(FileInputStream("assets/audio/anthem.ogg"), "anthem.ogg") val background = Image(TextureLoader.getTexture("PNG", FileInputStream("assets/images/background.png")))