Exit Full View

Pill Popper / src / main / kotlin / uk / co / nickthecoder / pillpopper / Wall.kt

package uk.co.nickthecoder.pillpopper

import uk.co.nickthecoder.tickle.AbstractRole

open class Wall : AbstractRole(), Solid {

    override fun activated() {
        Play.instance.neighbourhood.blockAt(actor.x, actor.y).add(this)
    }

    override fun tick() {}
}