public class DialogueTransfer
extends java.lang.Object
Constructor and Description |
---|
DialogueTransfer()
Default constructor, creates empty transfer
|
DialogueTransfer(java.util.Map<java.lang.String,java.lang.Integer> itemsToGive,
java.util.Map<java.lang.String,java.lang.Integer> itemsToTake)
Dialogue transfer constructor
|
Modifier and Type | Method and Description |
---|---|
void |
exchange(Character charA,
Character charB)
Transfers items and gold between to characters
|
public DialogueTransfer()
public DialogueTransfer(java.util.Map<java.lang.String,java.lang.Integer> itemsToGive, java.util.Map<java.lang.String,java.lang.Integer> itemsToTake)
itemsToGive
- List with IDs of items to give to playeritemsToTake
- List with IDs of items to take from playergoldToGive
- Amount of gold to give to playergoldToTake
- Amount of gold to take from player