Beginnings of event stuff.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@18 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-06-01 07:12:13 +00:00
parent b6d12bc06d
commit 825b36c0ff
4 changed files with 281 additions and 2 deletions
@@ -1,5 +1,5 @@
//
// $Id: DEvent.java,v 1.1 2001/06/01 05:01:52 mdb Exp $
// $Id: DEvent.java,v 1.2 2001/06/01 07:12:13 mdb Exp $
package com.threerings.cocktail.cher.dobj;
@@ -11,4 +11,23 @@ package com.threerings.cocktail.cher.dobj;
*/
public class DEvent
{
/**
* Returns the oid of the object that is the target of this event.
*/
public int getTargetOid ()
{
return _toid;
}
/**
* Constructs a new distributed object event that pertains to the
* specified distributed object.
*/
protected DEvent (int targetOid)
{
_toid = targetOid;
}
/** The oid of the object that is the target of this event. */
protected int _toid;
}