playn.java
Class JavaPlatform

java.lang.Object
  extended by playn.java.JavaPlatform
All Implemented Interfaces:
Platform

public class JavaPlatform
extends Object
implements Platform


Nested Class Summary
 
Nested classes/interfaces inherited from interface playn.core.Platform
Platform.Type
 
Method Summary
 Analytics analytics()
           
 JavaAssets assetManager()
          Deprecated. Use assets.
 JavaAssets assets()
           
 Audio audio()
           
 JavaGraphics graphics()
           
 Json json()
           
 Keyboard keyboard()
           
 Log log()
           
 Mouse mouse()
           
 Net net()
           
 void openURL(String url)
           
 Pointer pointer()
           
 float random()
           
static JavaPlatform register()
           
 RegularExpression regularExpression()
           
 void run(Game game)
           
 void setTitle(String title)
          Sets the title of the window.
 Storage storage()
           
 double time()
           
 Touch touch()
           
 Platform.Type type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static JavaPlatform register()

audio

public Audio audio()
Specified by:
audio in interface Platform

graphics

public JavaGraphics graphics()
Specified by:
graphics in interface Platform

json

public Json json()
Specified by:
json in interface Platform

keyboard

public Keyboard keyboard()
Specified by:
keyboard in interface Platform

log

public Log log()
Specified by:
log in interface Platform

net

public Net net()
Specified by:
net in interface Platform

pointer

public Pointer pointer()
Specified by:
pointer in interface Platform

mouse

public Mouse mouse()
Specified by:
mouse in interface Platform

touch

public Touch touch()
Specified by:
touch in interface Platform

storage

public Storage storage()
Specified by:
storage in interface Platform

analytics

public Analytics analytics()
Specified by:
analytics in interface Platform

assets

public JavaAssets assets()
Specified by:
assets in interface Platform

assetManager

@Deprecated
public JavaAssets assetManager()
Deprecated. Use assets.


random

public float random()
Specified by:
random in interface Platform

run

public void run(Game game)
Specified by:
run in interface Platform

time

public double time()
Specified by:
time in interface Platform

type

public Platform.Type type()
Specified by:
type in interface Platform

regularExpression

public RegularExpression regularExpression()
Specified by:
regularExpression in interface Platform

openURL

public void openURL(String url)
Specified by:
openURL in interface Platform

setTitle

public void setTitle(String title)
Sets the title of the window.

Parameters:
title - the window title


Copyright © 2012. All Rights Reserved.