I see that it was not a desire for verbosity but rather a limitation of Flash
that inspired the previous structure. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@225 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -126,7 +126,16 @@ public class EZGameController extends GameController
|
||||
// from PlaceController
|
||||
override protected function createPlaceView (ctx :CrowdContext) :PlaceView
|
||||
{
|
||||
return _panel = new EZGamePanel(ctx, this);
|
||||
return new EZGamePanel(ctx, this);
|
||||
}
|
||||
|
||||
// from PlaceController
|
||||
override protected function didInit () :void
|
||||
{
|
||||
super.didInit();
|
||||
|
||||
// we can't just assign _panel in createPlaceView() for some exciting reason
|
||||
_panel = (_view as EZGamePanel);
|
||||
}
|
||||
|
||||
protected var _ezObj :EZGameObject;
|
||||
|
||||
Reference in New Issue
Block a user