~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/being/localplayer.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
         */
82
82
        ~LocalPlayer();
83
83
 
84
 
        virtual void logic() override;
 
84
        void logic() override;
85
85
 
86
86
        void slowLogic();
87
87
 
88
 
        virtual void setAction(const Action &action,
89
 
                               const int attackType = 0) override;
 
88
        void setAction(const Action &action,
 
89
                       const int attackType = 0) override;
90
90
 
91
91
        /**
92
92
         * Compute the next pathnode location when walking using keyboard.
101
101
         * Also, when specified, it picks up an item at the end of a path
102
102
         * or attack target.
103
103
         */
104
 
        virtual void nextTile() override
 
104
        void nextTile() override
105
105
        { nextTile(0); }
106
106
 
107
 
        virtual void nextTile(unsigned char dir);
 
107
        void nextTile(unsigned char dir);
108
108
 
109
109
        bool pickUp(FloorItem *const item);
110
110
 
150
150
        /**
151
151
         * Sets a new destination for this being to walk to.
152
152
         */
153
 
        virtual void setDestination(const int x, const int y);
 
153
        void setDestination(const int x, const int y);
154
154
 
155
155
        /**
156
156
         * Sets a new direction to keep walking in.
374
374
         */
375
375
        void optionChanged(const std::string &value) override;
376
376
 
377
 
        void processEvent(Channels channel,
 
377
        void processEvent(const Channels channel,
378
378
                          const DepricatedEvent &event) override;
379
379
 
380
380
        /**
468
468
        void updateStatus() const;
469
469
 
470
470
        void setTestParticle(const std::string &fileName,
471
 
                             bool updateHash = true);
 
471
                             const bool updateHash = true);
472
472
 
473
473
        std::string getInvertDirectionString();
474
474
 
503
503
    protected:
504
504
        void updateCoords() override;
505
505
 
506
 
 
507
 
        virtual void handleStatusEffect(StatusEffect *const effect,
508
 
                                        const int effectId);
 
506
        void handleStatusEffect(StatusEffect *const effect,
 
507
                                const int effectId);
509
508
 
510
509
        void startWalking(const unsigned char dir);
511
510