Changeset 6965 for code/branches/presentation3/src/orxonox
- Timestamp:
- May 24, 2010, 4:59:23 PM (15 years ago)
- Location:
- code/branches/presentation3/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/CMakeLists.txt
r6928 r6965 60 60 MoodManager.h 61 61 controllers/HumanController.h 62 interfaces/Pickup Carrier.h62 interfaces/Pickupable.h 63 63 sound/SoundManager.h 64 64 DEFINE_SYMBOL -
code/branches/presentation3/src/orxonox/interfaces/PickupCarrier.h
r6711 r6965 45 45 #include "core/OrxonoxClass.h" 46 46 47 namespace orxonox // tolua_export48 { // tolua_export47 namespace orxonox 48 { 49 49 50 50 //! Forward-declarations. … … 62 62 Damian 'Mozork' Frick 63 63 */ 64 class _OrxonoxExport PickupCarrier // tolua_export 65 : virtual public OrxonoxClass 66 { // tolua_export 64 class _OrxonoxExport PickupCarrier : virtual public OrxonoxClass 65 { 67 66 //! So that the different Pickupables have full access to their PickupCarrier. 68 67 friend class Pickupable; … … 259 258 } 260 259 261 }; // tolua_export262 } // tolua_export260 }; 261 } 263 262 264 263 #endif /* _PickupCarrier_H__ */ -
code/branches/presentation3/src/orxonox/interfaces/Pickupable.h
r6901 r6965 42 42 #include "core/OrxonoxClass.h" 43 43 44 namespace orxonox 45 { 44 namespace orxonox // tolua_export 45 { // tolua_export 46 46 47 47 /** … … 51 51 Damian 'Mozork' Frick 52 52 */ 53 class _OrxonoxExport Pickupable : virtual public OrxonoxClass 54 { 53 class _OrxonoxExport Pickupable // tolua_export 54 : virtual public OrxonoxClass 55 { // tolua_export 55 56 protected: 56 57 Pickupable(); //!< Default constructor. … … 63 64 @return Returns true if the pickup is currently in use. 64 65 */ 65 inline bool isUsed(void) 66 { return this->used_; } 66 inline bool isUsed(void) { return this->used_; } // tolua_export 67 67 /** 68 68 @brief Should be called when the pickup has transited from used to unused or the other way around. … … 87 87 @return Returns true if the Pickupable is currently picked up, false if not. 88 88 */ 89 inline bool isPickedUp(void) 90 { return this->pickedUp_; } 89 inline bool isPickedUp(void) { return this->pickedUp_; } // tolua_export 91 90 /** 92 91 @brief Should be called when the pickup has transited from picked up to dropped or the other way around. … … 142 141 std::list<Identifier*> targets_; //!< The possible targets of this pickup. 143 142 144 }; 143 }; // tolua_export 145 144 146 145 SUPER_FUNCTION(10, Pickupable, changedUsed, false); 147 146 SUPER_FUNCTION(12, Pickupable, changedCarrier, false); 148 147 SUPER_FUNCTION(13, Pickupable, changedPickedUp, false); 149 } 148 } // tolua_export 150 149 151 150 #endif /* _Pickupable_H__ */
Note: See TracChangeset
for help on using the changeset viewer.