~flosoft/s25rttr/trunk

« back to all changes in this revision

Viewing changes to src/nofPigbreeder.h

  • Committer: FloSoft
  • Date: 2014-04-25 15:35:50 UTC
  • Revision ID: flosoft@siedler25.org-20140425153550-9muu4vodhlqu58m0
committing subversion revision 9357 by FloSoft
astyle

modified:
s25client/trunk/
s25client/trunk/contrib/lua/lin32/include/
s25client/trunk/contrib/lua/lin64/include/
s25client/trunk/contrib/lua/mac/include/
s25client/trunk/contrib/lua/win32/include/
s25client/trunk/contrib/lua/win64/include/
s25client/trunk/driver/audio/SDL/src/
s25client/trunk/driver/src/
s25client/trunk/driver/video/GLFW/src/
s25client/trunk/driver/video/SDL/src/
s25client/trunk/driver/video/WinAPI/src/
s25client/trunk/src/
s25client/trunk/win32/
s25client/trunk/win32/prebuild-mutex/src/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: nofPigbreeder.h 7521 2011-09-08 20:45:55Z FloSoft $
 
1
// $Id: nofPigbreeder.h 9357 2014-04-25 15:35:25Z FloSoft $
2
2
//
3
3
// Copyright (c) 2005 - 2011 Settlers Freaks (sf-team at siedler25.org)
4
4
//
27
27
/// Klasse f�r den Schreiner
28
28
class nofPigbreeder : public nofWorkman
29
29
{
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 73; }
34
 
        /// Der Arbeiter erzeugt eine Ware
35
 
        GoodType ProduceWare();
36
 
 
37
 
public:
38
 
 
39
 
        nofPigbreeder(const unsigned short x, const unsigned short y,const unsigned char player,nobUsual * workplace);
40
 
        nofPigbreeder(SerializedGameData * sgd, const unsigned obj_id);
41
 
 
42
 
        GO_Type GetGOT() const { return GOT_NOF_PIGBREEDER; }
43
 
 
44
 
        /// Ggf. Schweinesounds abspielen
45
 
        void MakePigSounds();
 
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 73; }
 
34
        /// Der Arbeiter erzeugt eine Ware
 
35
        GoodType ProduceWare();
 
36
 
 
37
    public:
 
38
 
 
39
        nofPigbreeder(const unsigned short x, const unsigned short y, const unsigned char player, nobUsual* workplace);
 
40
        nofPigbreeder(SerializedGameData* sgd, const unsigned obj_id);
 
41
 
 
42
        GO_Type GetGOT() const { return GOT_NOF_PIGBREEDER; }
 
43
 
 
44
        /// Ggf. Schweinesounds abspielen
 
45
        void MakePigSounds();
46
46
};
47
47
 
48
48
#endif