playn.java
Class JavaPlatform
java.lang.Object
playn.java.JavaPlatform
- All Implemented Interfaces:
- Platform
public class JavaPlatform
- extends Object
- implements Platform
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.