added setHovered() so that a SceneObject can be told when it is being
hovered over, and can request to have it's object tile repainted. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1805 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DisplayObjectInfo.java,v 1.3 2002/09/23 23:07:11 mdb Exp $
|
||||
// $Id: DisplayObjectInfo.java,v 1.4 2002/10/16 01:53:57 ray Exp $
|
||||
|
||||
package com.threerings.miso.scene;
|
||||
|
||||
@@ -40,6 +40,16 @@ public class SceneObject
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate to the scene object that it is being hovered over.
|
||||
*
|
||||
* @return true if the object should be repainted.
|
||||
*/
|
||||
public boolean setHovered (boolean hovered)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public boolean equals (Object other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user