~joerg-ehrichs/botrace/master

« back to all changes in this revision

Viewing changes to src/core/engine/robot.h

  • Committer: Jörg Ehrichs
  • Date: 2012-07-22 19:58:16 UTC
  • Revision ID: git-v1:2f4f14cc49bf6e8aed5cc0399f6fe606201784f8
inital start to add king of the flag/hill game modes

Show diffs side-by-side

added added

removed removed

Lines of Context:
291
291
    Robot *getShotBy();
292
292
    void resetShotBy();
293
293
 
 
294
    void setHasFlag(bool hasIt);
 
295
    bool hasFlag() const;
 
296
 
294
297
    /**
295
298
     * @brief Shoots a laser to the target
296
299
     *
515
518
    Participant *m_participant;     /**< Pointer to the connected participant */
516
519
    Robot *m_pushedBy;              /**< Last robot which pushed this one or 0 */
517
520
    Robot *m_shotBy;                /**< Last robot which shot this one or 0 */
 
521
    bool m_hasFlag;                 /**< Saves if the robot has the flag in @c King @c of @c the @c Flag mode */
518
522
};
519
523
 
520
524
}