We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670bd4e commit 75259b1Copy full SHA for 75259b1
blade-engine/src/com/bladecoder/engine/actions/OpenURLAction.java
@@ -0,0 +1,19 @@
1
+package com.bladecoder.engine.actions;
2
+
3
+import com.badlogic.gdx.Gdx;
4
+import com.bladecoder.engine.model.VerbRunner;
5
6
+@ActionDescription("Open an URL in the default Browser")
7
+public class OpenURLAction implements Action {
8
+ @ActionProperty(required=true)
9
+ @ActionPropertyDescription("The URL")
10
+ private String url;
11
12
+ @Override
13
+ public boolean run(VerbRunner cb) {
14
15
+ Gdx.net.openURI(url);
16
17
+ return false;
18
+ }
19
+}
0 commit comments