void draw(DrawingContext& context, const Vector& offset);
void action(float elapsed_time);
- void set_direction(Direction d) { input_direction = d; }
+ void set_direction(Direction dir);
bool is_moving() const { return moving; }
Vector get_pos();
bool quit;
- Surface* level_sprite;
Surface* leveldot_green;
Surface* leveldot_red;
+ Surface* messagedot;
std::string name;
std::string music;
/** Message to show in the Map */
std::string display_map_message;
+ bool passive_message;
/** Go to this world */
std::string next_worldmap;
bool west;
};
+ /** Variables to deal with the passive map messages */
+ Timer passive_message_timer;
+ std::string passive_message;
+
private:
std::string map_filename;
MusicRef song;
- Direction input_direction;
bool enter_level;
Vector offset;