Class RichAgent
- java.lang.Object
-
- jadex.bdiv3.examples.moneypainter.RichAgent
-
public class RichAgent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RichAgent.BecomeRich
class
RichAgent.GetOneEuro
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
protected int
money
The money.protected int
target
The target amount of money.
-
Constructor Summary
Constructors Constructor Description RichAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
void
distributeWork(IPlan plan)
protected void
incMoney()
void
printRich(IGoal goal)
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
-
target
protected int target
The target amount of money.
-
money
protected int money
The money.
-
-