All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy