Public Member Functions | Private Attributes

editor::editor_action_create_mask Class Reference

#include <action.hpp>

Inheritance diagram for editor::editor_action_create_mask:
Inheritance graph
[legend]
Collaboration diagram for editor::editor_action_create_mask:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 editor_action_create_mask (const editor_map &target)
editor_action_create_maskclone () const
 Action cloning.
void perform_without_undo (map_context &mc) const
 Perform the action without creating an undo action.
const char * get_name () const

Private Attributes

editor_map target_

Detailed Description

Definition at line 416 of file action.hpp.


Constructor & Destructor Documentation

editor::editor_action_create_mask::editor_action_create_mask ( const editor_map target  )  [inline]

Definition at line 419 of file action.hpp.


Member Function Documentation

editor_action_create_mask * editor::editor_action_create_mask::clone (  )  const [virtual]

Action cloning.

Implements editor::editor_action.

Definition at line 392 of file action.cpp.

References editor::map_context::get_map(), editor::editor_action_apply_mask::mask_, gamemap::overlay(), and editor::map_context::set_needs_terrain_rebuild().

Here is the call graph for this function:

const char* editor::editor_action_create_mask::get_name (  )  const [inline, virtual]
Returns:
a short name of this action type, defaults to unknown

Reimplemented from editor::editor_action.

Definition at line 425 of file action.hpp.

void editor::editor_action_create_mask::perform_without_undo ( map_context  )  const [virtual]

Perform the action without creating an undo action.

Implements editor::editor_action.

Definition at line 396 of file action.cpp.


Member Data Documentation

Definition at line 427 of file action.hpp.

Referenced by editor::editor_action_shuffle_area::clone().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:28 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs