playn.flash
Class FlashPlatform

java.lang.Object
  extended by playn.core.AbstractPlatform
      extended by playn.flash.FlashPlatform
All Implemented Interfaces:
Platform

public class FlashPlatform
extends AbstractPlatform


Nested Class Summary
 
Nested classes/interfaces inherited from interface playn.core.Platform
Platform.Type
 
Field Summary
 
Fields inherited from class playn.core.AbstractPlatform
log, runQueue
 
Constructor Summary
protected FlashPlatform()
           
 
Method Summary
 Analytics analytics()
           
 FlashAssets assets()
           
 playn.flash.FlashAudio audio()
           
static void captureEvent(EventType eventType, EventHandler<?> eventHandler)
           
 Graphics graphics()
           
 Json json()
           
 Keyboard keyboard()
           
 Mouse mouse()
           
 Net net()
           
 void openURL(String url)
           
 Pointer pointer()
           
 float random()
           
static FlashPlatform register()
           
 RegularExpression regularExpression()
           
 void run(Game game)
           
 void setPropagateEvents(boolean propagate)
           
 Storage storage()
           
 double time()
           
 Touch touch()
           
 Platform.Type type()
           
 
Methods inherited from class playn.core.AbstractPlatform
invokeAsync, invokeLater, log, notifyFailure, notifySuccess, onExit, onPause, onResume, setLifecycleListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashPlatform

protected FlashPlatform()
Method Detail

register

public static FlashPlatform register()

analytics

public Analytics analytics()

assets

public FlashAssets assets()

audio

public playn.flash.FlashAudio audio()

graphics

public Graphics graphics()

json

public Json json()

keyboard

public Keyboard keyboard()

net

public Net net()

pointer

public Pointer pointer()

mouse

public Mouse mouse()

touch

public Touch touch()

random

public float random()

regularExpression

public RegularExpression regularExpression()

storage

public Storage storage()

openURL

public void openURL(String url)

setPropagateEvents

public void setPropagateEvents(boolean propagate)

run

public void run(Game game)

time

public double time()

type

public Platform.Type type()

captureEvent

public static void captureEvent(EventType eventType,
                                EventHandler<?> eventHandler)


Copyright © 2013. All Rights Reserved.