void offPlatform() { isOnPlatform = false; platform = null; lastPlatformDir = 0; }
public void onPlatform(MovingPlatformAI target) { isOnPlatform = true; platform = target; }