 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.treasurelist;
22 import org.jetbrains.annotations.NotNull;
40 super(
"NO",
false,
false);
55 throw new UnsupportedOperationException(
"unsupported operation");
Interface for visitors of TreasureObj instances.
static final long serialVersionUID
The serial version UID.
Subclass: UserObject (= content object) for nodes in the CFTreasureListTree These can be either treas...
void appendToString(@NotNull final StringBuilder sb)
Appends a description of this treasure object to a {}.
void setChance(final int value)
Sets the chance attribute.
int chance
The chance attribute.
A TreasureObj representing a "no" entry.
NoTreasureObj(final int chance)
Creates a new instance.
void visit(@NotNull final TreasureObjVisitor visitor)
Calls the TreasureObjVisitor callback function appropriate for this instance.
void copyListType(@NotNull final TreasureObj treasureObj)
Copes the list type of a treasureone list.