Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2017, 3:18:27 PM (7 years ago)
Author:
jkindle
Message:

Added the animation for the level end (walk into castle), Coins for the blocks, Castleblocks and Flagblocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOB.h

    r11412 r11416  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Julien Kindle
    2424 *   Co-authors:
    25  *      ...
     25 *     
    2626 *
    2727 */
    2828
    2929/**
    30     @file Pong.h
    31     @brief Declaration of the Pong class.
    32     @ingroup Pong
     30    @file SOB.h
     31    @brief Declaration of the SOB class.
    3332*/
    3433
     
    3736
    3837#include "superorxobros/SOBPrereqs.h"
    39 
    40 #include "tools/Timer.h"
    41 
    4238#include "gametypes/Deathmatch.h"
    4339#include "SOBCenterpoint.h"
     
    4541namespace orxonox
    4642{
    47 
    4843
    4944    class _SOBExport SOB : public Deathmatch
     
    6358
    6459            void restart();
     60
     61            //Functions for points and coins
    6562            int getPoints() {
    6663                return points_;
     
    7976                points_+=100;
    8077            }
     78            void addPoints(int poi) {
     79                points_+=poi;
     80            }
    8181            int getTimeLeft() {
    8282                return timeLeft_;
     
    8686            }
    8787           
     88
     89
     90            //Not used yet - placed if somebody wants to develop lvl 1-2 etc
    8891            void setLvl(int lvl) {
    8992                lvl_ = lvl;
     
    109112            int coins_;
    110113            float timeLeft_;
    111        
     114
    112115            int lvl_;
    113116            std::string info_;
     
    117120    }
    118121
    119 #endif /* _Pong_H__ */
     122#endif /* _SOB_H__ */
Note: See TracChangeset for help on using the changeset viewer.