Starsector API
Loading...
Searching...
No Matches
GBStayInPlace.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.campaign.ghosts;
2
3public class GBStayInPlace extends BaseGhostBehavior {
4
5 public GBStayInPlace(float duration) {
6 super(duration);
7 }
8
9
10
11 @Override
12 public void advance(float amount, SensorGhost ghost) {
13 super.advance(amount, ghost);
14
15 ghost.moveTo(ghost.getEntity().getLocation(), 5);
16 }
17}
void advance(float amount, SensorGhost ghost)
void moveTo(Vector2f dest, float maxBurn)