xworker.gswt.actions.InVisible Maven / Gradle / Ivy
package xworker.gswt.actions;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import xworker.gswt.Action;
import xworker.gswt.SimpleGame;
public class InVisible extends Action{
public InVisible(Thing thing, ActionContext actionContext){
super(thing, actionContext);
}
@Override
public void doAction(SimpleGame game, ActionContext actionContext) {
actor.visible = false;
this.finished = true;
}
}