|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Ownable
Interface for objects which can be owned by a Player
.
Player
Method Summary | |
---|---|
Player |
getOwner()
Gets the owner of this Ownable . |
void |
setOwner(Player p)
Sets the owner of this Ownable . |
Method Detail |
---|
Player getOwner()
Ownable
.
Player
controlling this
Ownable
.void setOwner(Player p)
Ownable
.
p
- The Player
that should take ownership
of this Ownable
.
java.lang.UnsupportedOperationException
- if not implemented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |