// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.npc.instructions;

import com.hypixel.hytale.server.npc.movement.Steering;
import com.hypixel.hytale.component.ComponentAccessor;
import com.hypixel.hytale.component.Store;
import javax.annotation.Nullable;
import com.hypixel.hytale.server.npc.sensorinfo.InfoProvider;
import com.hypixel.hytale.server.npc.role.Role;
import javax.annotation.Nonnull;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Ref;
import com.hypixel.hytale.server.npc.util.IAnnotatedComponent;

public interface Motion extends RoleStateChange, IAnnotatedComponent
{
    default void preComputeSteering(@Nonnull final Ref<EntityStore> ref, @Nonnull final Role role, @Nullable final InfoProvider provider, @Nonnull final Store<EntityStore> store) {
    }
    
    default void activate(@Nonnull final Ref<EntityStore> ref, @Nonnull final Role role, @Nonnull final ComponentAccessor<EntityStore> componentAccessor) {
    }
    
    default void deactivate(@Nonnull final Ref<EntityStore> ref, @Nonnull final Role role, @Nonnull final ComponentAccessor<EntityStore> componentAccessor) {
    }
    
    boolean computeSteering(@Nonnull final Ref<EntityStore> p0, @Nonnull final Role p1, @Nullable final InfoProvider p2, final double p3, @Nonnull final Steering p4, @Nonnull final ComponentAccessor<EntityStore> p5);
}
