diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-03-25 08:39:35 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-03-25 08:39:35 -0400 |
commit | 82b70aea2f3f8ba1a247bef59695d4117fa023ba (patch) | |
tree | fac00125a645232b84b493bae3ade8f3bc348799 /include/world.h | |
parent | cff9c47a543d68f9f661ffcd373bf888ae8671ca (diff) |
snowww
Diffstat (limited to 'include/world.h')
-rw-r--r-- | include/world.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/world.h b/include/world.h index dd06469..0b87134 100644 --- a/include/world.h +++ b/include/world.h @@ -43,7 +43,8 @@ enum class WorldBGType : unsigned char { enum class WorldWeather : unsigned char { Sunny = 0, /**< Sunny/daytime */ Dark, /**< Nighttime */ - Rain /**< Rain (to be implemented)*/ + Rain, /**< Rain */ + Snowy /**< Snow */ }; /** @@ -363,7 +364,8 @@ public: * velocity, color and duration (time to live). */ - void addParticle(float x, float y, float w, float h, float vx, float vy, Color color, int duration); + void addParticle(float x, float y, float w, float h, float vx, float vy, Color color, int d); + void addParticle(float x, float y, float w, float h, float vx, float vy, Color color, int d, bool gravity ); /** * Adds a light to the world with the specified coordinates and color. @@ -528,6 +530,8 @@ public: World *exitArena( Player *p ); }; +std::string getWorldWeatherStr( WorldWeather ww ); + /** * Loads the player into the world created by the given XML file. If a world is * already loaded it will be saved before the transition is made. |