20 #include "../Engine/State.h" 30 class ToggleTextButton;
31 class RuleManufacture;
34 class InteractiveSurface;
46 ArrowButton * _btnUnitUp, * _btnUnitDown, * _btnEngineerUp, * _btnEngineerDown;
48 Text * _txtTitle, * _txtAvailableEngineer, * _txtAvailableSpace, * _txtMonthlyProfit, * _txtAllocatedEngineer, * _txtUnitToProduce, * _txtUnitUp, * _txtUnitDown, * _txtEngineerUp, * _txtEngineerDown, * _txtAllocated, * _txtTodo;
50 Timer * _timerMoreEngineer, * _timerMoreUnit, * _timerLessEngineer, * _timerLessUnit;
52 int _producedItemsValue;
54 void initProfitInfo ();
56 int getMonthlyNetFunds ()
const;
58 void btnSellClick (
Action * action);
60 void btnStopClick (
Action * action);
62 void btnOkClick (
Action * action);
64 void moreEngineer(
int change);
66 void moreEngineerPress(
Action * action);
68 void moreEngineerRelease(
Action * action);
70 void moreEngineerClick(
Action * action);
72 void moreUnit(
int change);
74 void moreUnitPress(
Action * action);
76 void moreUnitRelease(
Action * action);
78 void moreUnitClick(
Action * action);
80 void lessEngineer(
int change);
82 void lessEngineerPress(
Action * action);
84 void lessEngineerRelease(
Action * action);
86 void lessEngineerClick(
Action * action);
88 void lessUnit(
int change);
90 void lessUnitPress(
Action * action);
92 void lessUnitRelease(
Action * action);
94 void lessUnitClick(
Action * action);
96 void onMoreEngineer();
98 void onLessEngineer();
100 void handleWheelEngineer(
Action *action);
106 void handleWheelUnit(
Action *action);
108 void setAssignedEngineer();
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:32
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Box with a coloured border and custom background.
Definition: Window.h:40
Timer used to run code in fixed intervals.
Definition: Timer.h:35
Surface that the user can interact with.
Definition: InteractiveSurface.h:37
Definition: ToggleTextButton.h:27
Text string displayed on screen.
Definition: Text.h:40
Definition: Production.h:31
Represents a player base on the globe.
Definition: Base.h:45
Coloured button with a text label.
Definition: TextButton.h:38
Represents the information needed to manufacture an object.
Definition: RuleManufacture.h:30
~ManufactureInfoState()
Cleans up the state.
Definition: ManufactureInfoState.cpp:252
ManufactureInfoState(Base *base, RuleManufacture *_item)
Creates the State (new production).
Definition: ManufactureInfoState.cpp:51
Screen that allows changing of Production settings (assigned engineer, units to build).
Definition: ManufactureInfoState.h:39
Definition: BaseInfoState.cpp:40