Documentation
¶
Index ¶
- Variables
- type Alchemist
- func (a *Alchemist) BrewPotion(potionName string) (Potion, error)
- func (a *Alchemist) CanCombineIngredients(ingredient1 *ingredient.Ingredient, ingredient2 *ingredient.Ingredient) bool
- func (a *Alchemist) CanStartBrewing() bool
- func (a *Alchemist) CanUseIngredient(ingredient *ingredient.Ingredient) bool
- func (a *Alchemist) DetermineEffects(ofIngredient *ingredient.Ingredient) []ingredient.Effect
- func (a *Alchemist) DiscardIngredients()
- func (a *Alchemist) IdentifiableAmountOfEffects() int
- func (a *Alchemist) IsApprentice() bool
- func (a *Alchemist) IsExpert() bool
- func (a *Alchemist) IsJourneyMan() bool
- func (a *Alchemist) IsMaster() bool
- func (a *Alchemist) IsNovice() bool
- func (a Alchemist) PredictPotion() (Potion, error)
- func (a *Alchemist) Refine(effect ingredient.Effect) PotionEffect
- func (a *Alchemist) UseIngredient(newIngredient *ingredient.Ingredient) error
- func (a *Alchemist) UsedIngredients() []*ingredient.Ingredient
- type EquipmentLevel
- type Mortar
- type Potion
- type PotionEffect
- type Slot
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmptySlot = Slot{/* contains filtered or unexported fields */} FirstSlot = Slot{/* contains filtered or unexported fields */} SecondSlot = Slot{/* contains filtered or unexported fields */} ThirdSlot = Slot{/* contains filtered or unexported fields */} FourthSlot = Slot{/* contains filtered or unexported fields */} )
View Source
var ( EquipmentNovice = EquipmentLevel{/* contains filtered or unexported fields */} EquipmentApprentice = EquipmentLevel{/* contains filtered or unexported fields */} EquipmentJourneyman = EquipmentLevel{/* contains filtered or unexported fields */} EquipmentExpert = EquipmentLevel{/* contains filtered or unexported fields */} EquipmentMaster = EquipmentLevel{/* contains filtered or unexported fields */} )
Functions ¶
This section is empty.
Types ¶
type Alchemist ¶
type Alchemist struct {
// contains filtered or unexported fields
}
func (*Alchemist) CanCombineIngredients ¶
func (a *Alchemist) CanCombineIngredients(ingredient1 *ingredient.Ingredient, ingredient2 *ingredient.Ingredient) bool
func (*Alchemist) CanStartBrewing ¶
func (*Alchemist) CanUseIngredient ¶
func (a *Alchemist) CanUseIngredient(ingredient *ingredient.Ingredient) bool
func (*Alchemist) DetermineEffects ¶
func (a *Alchemist) DetermineEffects(ofIngredient *ingredient.Ingredient) []ingredient.Effect
func (*Alchemist) DiscardIngredients ¶
func (a *Alchemist) DiscardIngredients()
func (*Alchemist) IdentifiableAmountOfEffects ¶
func (*Alchemist) IsApprentice ¶
func (*Alchemist) IsJourneyMan ¶
func (Alchemist) PredictPotion ¶
func (*Alchemist) Refine ¶
func (a *Alchemist) Refine(effect ingredient.Effect) PotionEffect
func (*Alchemist) UseIngredient ¶
func (a *Alchemist) UseIngredient(newIngredient *ingredient.Ingredient) error
func (*Alchemist) UsedIngredients ¶
func (a *Alchemist) UsedIngredients() []*ingredient.Ingredient
type EquipmentLevel ¶
type EquipmentLevel struct {
// contains filtered or unexported fields
}
type Mortar ¶
type Mortar struct {
// contains filtered or unexported fields
}
func NewMortar ¶
func NewMortar(level EquipmentLevel) *Mortar
type Potion ¶
type Potion struct {
// contains filtered or unexported fields
}
func (Potion) Description ¶
func (Potion) Effects ¶
func (p Potion) Effects() []PotionEffect
type PotionEffect ¶
type PotionEffect struct {
// contains filtered or unexported fields
}
func (PotionEffect) Description ¶
func (pe PotionEffect) Description() string
func (PotionEffect) Name ¶
func (pe PotionEffect) Name() string
Click to show internal directories.
Click to hide internal directories.