mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 08:39:27 +00:00
12 lines
434 B
Kotlin
12 lines
434 B
Kotlin
package org.apollo.game.plugin.skill.runecrafting
|
|
|
|
import org.apollo.game.action.DistancedAction
|
|
import org.apollo.game.model.Position
|
|
import org.apollo.game.model.entity.Player
|
|
|
|
class TeleportToAltarAction(val player: Player, val start: Position, val distance: Int, val end: Position) : DistancedAction<Player>(0, true, player, start, distance) {
|
|
override fun executeAction() {
|
|
player.teleport(end)
|
|
stop()
|
|
}
|
|
} |