Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2017, 4:38:17 PM (7 years ago)
Author:
remartin
Message:

Das Aufteilen funktioniert nun gut. AsteroidField fertiggestellt und mit dokumentieren begonnen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AsteroidMining_HS17/src/modules/asteroidmining/SpicedAsteroidField.h

    r11615 r11640  
    4646
    4747    // tolua_export
    48     class _OrxonoxExport SpicedAsteroidField
     48    class _OrxonoxExport SpicedAsteroidField : public Pawn // need pawn to get tick for clean argument passing
    4949    { // tolua_export
    5050
     
    6565
    6666            inline void setPosition(Vector3 v){this->position = v;}
    67             inline Vector3 getPosition(){returrn this->position;}
     67            inline Vector3 getPosition(){return this->position;}
    6868
    6969            inline void setMaxSize(int i){this->maxSize = i;}
     
    7979            inline bool isFoggy(){return this->foggy;}
    8080
     81            inline void setFogDensity(float fd){this->fogDensity = fd;}
     82            inline float getFogDensity(){return this->fogDensity;}
     83
    8184        protected:
    8285            // Da neue Argumente reinstellen
     
    8790
    8891            Vector3 position;
    89             bool initialised;
    9092            Context* context;
     93           
    9194            int maxSize;
    9295            int minSize;
     
    9497            float radius;
    9598            bool foggy;
     99            float fogDensity;
    96100
    97101            virtual void create();
Note: See TracChangeset for help on using the changeset viewer.