Documentation improvements.

Removed the superfluous EZEvent.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@554 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2008-02-05 08:11:24 +00:00
parent 6ffedb1676
commit 0a4d59ee8f
18 changed files with 82 additions and 92 deletions
@@ -23,7 +23,13 @@ package com.threerings.ezgame {
import flash.events.Event;
public class OccupantChangedEvent extends EZEvent
/**
* Dispatched when an occupant enters or leaves.
*
* If a watcher becomes a player, you may get an OCCUPANT_LEFT event where player == false,
* followed immediately by an OCCUPANT_ENTERED event where player == true.
*/
public class OccupantChangedEvent extends Event
{
/**
* @eventType OccupantEntered
@@ -47,10 +53,9 @@ public class OccupantChangedEvent extends EZEvent
return _player;
}
public function OccupantChangedEvent (
type :String, gameCtrl :Object, occupantId :int, player :Boolean)
public function OccupantChangedEvent (type :String, occupantId :int, player :Boolean)
{
super(type, gameCtrl);
super(type);
_occupantId = occupantId;
_player = player;
}
@@ -64,7 +69,7 @@ public class OccupantChangedEvent extends EZEvent
override public function clone () :Event
{
return new OccupantChangedEvent(type, _gameCtrl, _occupantId, _player);
return new OccupantChangedEvent(type, _occupantId, _player);
}
/** @private */