package com.github.ysl3000.bukkit.pathfinding.craftbukkit.v1_14_R1.pathfinding


import net.minecraft.server.v1_14_R1.PathfinderGoal

class CraftPathfinderGoalWrapper(
        private val pathfinderGoal: com.github.ysl3000.bukkit.pathfinding.pathfinding.PathfinderGoal) : PathfinderGoal() {

    override fun a() = pathfinderGoal.shouldExecute()

    override fun b() = pathfinderGoal.canContinueToUse()

    override fun c() = pathfinderGoal.init()

    override fun d() = pathfinderGoal.reset()

    override fun e() = pathfinderGoal.execute()
}





