Package playn.html

Examples of playn.html.HtmlPlatform


import playn.html.HtmlPlatform;

public class TripleDemoHtml extends HtmlGame
{
    @Override public void start () {
        HtmlPlatform platform = HtmlPlatform.register();
        platform.assets().setPathPrefix("tripledemo/");
        PlayN.run(new TripleDemo());
    }
View Full Code Here


  @Override
  public void start() {
    HtmlPlatform.Config config = new HtmlPlatform.Config();
    // use config to customize the HTML platform, if needed
    HtmlPlatform platform = HtmlPlatform.register(config);
    platform.assets().setPathPrefix("dwlab/");
    PlayN.run(new test());
  }
View Full Code Here

TOP

Related Classes of playn.html.HtmlPlatform

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.