/** * Returns the platform {@link Platform.Type}. */ public static Platform.Type platformType() { return platform.type(); }
else plat.log().warn("Platform has neither mouse nor touch events?", "type", plat.type());
else plat.log().warn("Platform has neither mouse nor touch events?", "type", plat.type());
Net.Builder b = game.net.req("http://www.posttestserver.com/post.php").setPayload(data); if (game.plat.type() != Platform.Type.HTML) { b.addHeader("playn-test", "we love to test!");