001package com.fs.starfarer.api.impl.campaign.ghosts; 002 003public class GBStayInPlace extends BaseGhostBehavior { 004 005 public GBStayInPlace(float duration) { 006 super(duration); 007 } 008 009 010 011 @Override 012 public void advance(float amount, SensorGhost ghost) { 013 super.advance(amount, ghost); 014 015 ghost.moveTo(ghost.getEntity().getLocation(), 5); 016 } 017}