com.planet_ink.coffee_mud.Libraries.interfaces
Interface ExpertiseLibrary.SkillCost

Enclosing interface:
ExpertiseLibrary

public static interface ExpertiseLibrary.SkillCost

Class for the cost of a skill, or similar things perhaps


Method Summary
 java.lang.String costType(MOB mob)
          Returns a simple description of the Type of this cost.
 boolean doesMeetCostRequirements(MOB student)
          Returns whether the given mob meets the given cost requirements.
 java.lang.String requirements(MOB mob)
           
 void spendSkillCost(MOB student)
          Expends the given cost upon the given student
 

Method Detail

costType

java.lang.String costType(MOB mob)
Returns a simple description of the Type of this cost. A MOB and sample value is required for money currencies.

Parameters:
mob - MOB, for GOLD type currency eval
Returns:
the type of currency

requirements

java.lang.String requirements(MOB mob)

doesMeetCostRequirements

boolean doesMeetCostRequirements(MOB student)
Returns whether the given mob meets the given cost requirements.

Parameters:
student - the student to check
Returns:
true if it meets, false otherwise

spendSkillCost

void spendSkillCost(MOB student)
Expends the given cost upon the given student

Parameters:
student - the student to check