phaser4-rex-plugins
Version:
25 lines (19 loc) • 404 B
JavaScript
import Action from '../Action.js';
import { SUCCESS } from '../../constants.js';
class Succeeder extends Action {
constructor({
services,
title,
name = 'Succeeder'
} = {}) {
super({
services,
title,
name,
});
}
tick(tick) {
return SUCCESS;
}
};
export default Succeeder;