
com.almasb.fxgl.entity.action.IdleAction Maven / Gradle / Ivy
The newest version!
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/
package com.almasb.fxgl.entity.action;
/**
* Default action.
*
* @author Almas Baimagambetov ([email protected])
*/
public final class IdleAction extends InstantAction {
public IdleAction() {
// idle action is always complete
setComplete();
}
@Override
protected void performOnce(double tpf) {
// no-op idle
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy