27
27
/// Klasse f�r den Schreiner
28
28
class nofMinter : public nofWorkman
30
/// Zeichnet ihn beim Arbeiten
31
void DrawWorking(int x, int y);
32
/// Gibt die ID in JOBS.BOB zur�ck, wenn der Beruf Waren raustr�gt (bzw rein)
33
unsigned short GetCarryID() const { return 64; }
34
/// Der Arbeiter erzeugt eine Ware
35
GoodType ProduceWare();
39
nofMinter(const unsigned short x, const unsigned short y,const unsigned char player,nobUsual * workplace);
40
nofMinter(SerializedGameData * sgd, const unsigned obj_id);
30
/// Zeichnet ihn beim Arbeiten
31
void DrawWorking(int x, int y);
32
/// Gibt die ID in JOBS.BOB zur�ck, wenn der Beruf Waren raustr�gt (bzw rein)
33
unsigned short GetCarryID() const { return 64; }
34
/// Der Arbeiter erzeugt eine Ware
35
GoodType ProduceWare();
39
nofMinter(const unsigned short x, const unsigned short y, const unsigned char player, nobUsual* workplace);
40
nofMinter(SerializedGameData* sgd, const unsigned obj_id);
42
42
/// Serialisierungsfunktionen
43
protected: void Serialize_nofMinter(SerializedGameData * sgd) const;
44
public: void Serialize(SerializedGameData *sgd) const { Serialize_nofMinter(sgd); }
43
protected: void Serialize_nofMinter(SerializedGameData* sgd) const;
44
public: void Serialize(SerializedGameData* sgd) const { Serialize_nofMinter(sgd); }
46
GO_Type GetGOT() const { return GOT_NOF_MINTER; }
46
GO_Type GetGOT() const { return GOT_NOF_MINTER; }