playn.flash
Class FlashPlatform

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

public class FlashPlatform
extends Object
implements Platform


Nested Class Summary
 
Nested classes/interfaces inherited from interface playn.core.Platform
Platform.Type
 
Constructor Summary
FlashPlatform()
           
 
Method Summary
 Analytics analytics()
           
 FlashAssetManager assetManager()
           
 Audio audio()
           
static void captureEvent(EventType eventType, EventHandler<?> eventHandler)
           
 Graphics graphics()
           
 void init()
           
 Json json()
           
 Keyboard keyboard()
           
 Log log()
           
 Mouse mouse()
           
 Net net()
           
 void openURL(String url)
           
 Pointer pointer()
           
 float random()
           
static FlashPlatform register()
           
 RegularExpression regularExpression()
           
 void run(Game game)
           
 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
 

Constructor Detail

FlashPlatform

public FlashPlatform()
Method Detail

register

public static FlashPlatform register()

init

public void init()

assetManager

public FlashAssetManager assetManager()
Specified by:
assetManager in interface Platform

audio

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

graphics

public Graphics 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

random

public float random()
Specified by:
random 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

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

captureEvent

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

storage

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

analytics

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


Copyright © 2011. All Rights Reserved.