package net.torvald.terrarum.gameactors import com.badlogic.gdx.graphics.Color import net.torvald.terrarum.gameworld.GameWorld /** * Created by minjaesong on 2016-04-26. */ class WeaponSwung(world: GameWorld, val itemID: Int) : ActorWithPhysics(world, Actor.RenderOrder.MIDTOP), Luminous { // just let the solver use AABB; it's cheap but works just enough /** * Recommended implementation: * override var color: Int get() = actorValue.getAsInt(AVKey.LUMINOSITY) ?: 0 set(value) { actorValue[AVKey.LUMINOSITY] = value } */ override var color: Color get() = throw UnsupportedOperationException() set(value) { } /** * Arguments: * * Hitbox(x-offset, y-offset, width, height) * (Use ArrayList for normal circumstances) */ override val lightBoxList: List get() = throw UnsupportedOperationException() init { } }