Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2017, 3:08:16 PM (7 years ago)
Author:
jkindle
Message:

Added a HUD and type to QBlocks

File:
1 edited

Legend:

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

    r11400 r11405  
    4141            virtual ~SOBQBlock();
    4242            virtual  bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
     43            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
    4344
     45            void setType(std::string type) {
     46                this->type_=type;
     47            }
     48            std::string getType() {
     49                return this->type_;
     50            }
    4451        protected:
    4552            bool used_;
     53            std::string type_;
     54            void spawnMushroom();
    4655    };
    4756           
Note: See TracChangeset for help on using the changeset viewer.