Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.


 ClassPackageDescription
 CollisionGroup
krewfw.core_internal 
 CollisionShape
krewfw.core_internal.collision Shape data for collision detection.
 CollisionShapeAABB
krewfw.core_internal.collision 
 CollisionShapeOBB
krewfw.core_internal.collision 
 CollisionShapeSphere
krewfw.core_internal.collision 
 CollisionSystem
krewfw.core_internal 
 ColorActor
krewfw.builtin_actor.display Fade color represented by interger smoothly.
 ColorRect
krewfw.builtin_actor.display Simple rectangle node with vertex color.
 DraggableActor
krewfw.builtin_actor.ui 
 HitTest
krewfw.core_internal.collision Collision detection algorithm library
 IdGenerator
krewfw.core_internal 
 ImageButton
krewfw.builtin_actor.ui ありがちなボタン。Image とクリック時のハンドラを指定して使う。 見た目は、押されたときに暗くなって少し下に下がる挙動をとる。
 ITimeKeeperTask
krewfw.utils.as3 
 KeyboardStatus
krewfw.builtin_actor.ui 各キーの押下状態を保持する。 flash.ui.Keyboard クラスで定義されている keyCode に対して、 KEY_DOWN イベントから KEY_UP イベントまでの間 isPressed は true を返す。 また、このクラスは flash.events.KeyboardEvent を krewFramework の イベントに変えて投げる作用も持つ。 KeyboardStatus が投げる KrewSystemEventType.KEY_DOWN は Flash のそれと異なり、 押下されたタイミングだけ投げられる(押し続けで発火しない。) ToDo: キーストローク対応
 KrewActor
krewfw.core 
 KrewActorAgent
krewfw.core Scene 上にのっていない Actor が Actor めいた仕事をしたいときの委譲先。 バックエンドに存在する各 Scene のシステム Actor に処理を代行してもらう。 以下のように使う。 import krewfw.utils.krew; krew.agent.sendMessage(...); krewFramework は Actor の集まりで構成するという設計思想を持つが、 static な Model クラスなどがリソースへのアクセスやメッセージングなどを 行いたくなった時、または Actor を増やした時のオーバヘッドを減らしたい場合などに利用する。 ただしフレームワークのポリシー上、Actor にタスクを登録する系統のものは代行できない。 そういうことをしたくなったクラスは Actor として Scene 上に生きなければならない。
 KrewAsync
krewfw.utils.as3 Flexible asynchronous tasker.
 KrewBlendMode
krewfw.core Expand the blend modes of Starling framework.
 KrewConfig
krewfw Please customize these static values for your game before the calling KrewGameDirector.startGame().
 KrewGameDirector
krewfw.core Take responsibility for direction of game sequence.
 KrewGameObject
krewfw.core 
 KrewLine2D
krewfw.data_structure 
 KrewListUtil
krewfw.utils.swiss_knife Singleton Army knife for Array processing.
 KrewMovieClip
krewfw.builtin_actor.display 
 KrewObjectPool
krewfw.utils.as3 
 KrewPoint2D
krewfw.data_structure 
 KrewPoolable
krewfw.utils.as3 
 KrewPoolableActor
krewfw.core To make poolable actor, extends KrewPoolableActor and implements in subclasses like this: public class YourPoolableActorClass extends KrewPoolableActor { private static var _objectPool:KrewObjectPool = new KrewObjectPool(YourPoolableActorClass); protected override function onRecycle():void { _objectPool.recycle(this); } public static function getObject(arg1:Number, arg2:uint):YourPoolableActorClass { var params:Object = { arg1: arg1, arg2: arg2 }; return _objectPool.getObject(params) as YourPoolableActorClass; } public static function disposePool():void { _objectPool.dispose(); } ...
 KrewResourceManager
krewfw.core_internal 
 KrewScenarioPlayer
krewfw.builtin_actor.system Base class for event-driven command player.
 KrewScene
krewfw.core 
 KrewSharedObjects
krewfw.core_internal 
 KrewSoundPlayer
krewfw.utils.as3 
 KrewState
krewfw.builtin_actor.system State Object for KrewStateMachine.
 KrewStateMachine
krewfw.builtin_actor.system Hierarchical Finite State Machine for krewFramework.
 KrewStringUtil
krewfw.utils.swiss_knife Singleton Army knife for string processing.
 KrewSubState
krewfw.builtin_actor.system 一つの StateMachine に複数入れて使い回したいような State をつくる。 (state 名に自動生成した prefix をつける) 基本的に入りと出しか意識しないような使い方を想定しているが、 外の State から SubState 内の特定の state を指定したい場合は prefix を明示して SubState を new してほしい
 KrewSystemEventType
krewfw.core 
 KrewTestUtil
krewfw.utils.dev_tool Utilities for unit test.
 KrewTimeKeeper
krewfw.utils.as3 
 KrewTimeKeeperFrameTask
krewfw.utils.as3 経過秒ベースではなくて、n フレーム後に実行したいタスク。 負荷分散のために複数フレームに分けて処理を実行したい場合などに有用
 KrewTimeKeeperTask
krewfw.utils.as3 
 KrewTopUtil
krewfw.utils.swiss_knife Singleton Army knife for game coding.
 KrewTransition
krewfw.core Expand tween transition functions of Starling.
 KrewVector2D
krewfw.data_structure Yes, I know flash.geom.Point, but...
 MinimalStateHook
krewfw.builtin_actor.system state 切り替え時に何か実行したい時用
 MinimalStateMachine
krewfw.builtin_actor.system [Note] Now new Hierarchical Finite State Machine is available.
 NativeStageAccessor
krewfw 
 NotificationPublisher
krewfw.core_internal 
 NotificationService
krewfw.core_internal 
 ProfileData
krewfw.core_internal Stashed values for running performace check.
 SceneServantActor
krewfw.core_internal 
 ScreenCurtain
krewfw.builtin_actor.display 
 ScreenFader
krewfw.builtin_actor.display 
 SimpleButton
krewfw.builtin_actor.ui 
 SimpleImageActor
krewfw.builtin_actor.display 
 SimpleLoadingScreen
krewfw.builtin_actor.display テクスチャなどを使わずに、取り急ぎローディング画面を出すための Actor.
 SimpleVirtualJoystick
krewfw.builtin_actor.ui いわゆるバーチャルジョイスティック。 maxFingerMove に 100 を指定すると、中心から 100 ピクセル指を動かした際に スティックの傾きが最大となる。maxImageMove はこのときのスティック画像の 中心からの移動量である。
 StageLayer
krewfw.core_internal 
 StageLayerManager
krewfw.core_internal 
 StuntAction
krewfw.core_internal StuntAction means Actor's Tween Animation.
 StuntActionInstructor
krewfw.core_internal 
 TextButton
krewfw.builtin_actor.ui 
 TextFactory
krewfw.utils.starling 
 TileMapHelper
krewfw.utils.starling Tiled Map Editor (http://www.mapeditor.org/) の tmx ファイルから 出力した json をもとに各マスの Image を返すユーティリティ.
 TouchFilter
krewfw.builtin_actor.event