![JAR search and dependency download from the Maven repository](/logo.png)
com.bladecoder.engine.actions.OpenURLAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blade-engine Show documentation
Show all versions of blade-engine Show documentation
Classic point and click adventure game engine
The newest version!
package com.bladecoder.engine.actions;
import com.badlogic.gdx.Gdx;
import com.bladecoder.engine.model.VerbRunner;
import com.bladecoder.engine.model.World;
@ActionDescription("Open an URL in the default Browser")
public class OpenURLAction implements Action {
@ActionProperty(required=true)
@ActionPropertyDescription("The URL")
private String url;
@Override
public void init(World w) {
}
@Override
public boolean run(VerbRunner cb) {
Gdx.net.openURI(url);
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy