1// Aseprite
2// Copyright (C) 2019 Igara Studio S.A.
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_CMD_REMOVE_TILE_H_INCLUDED
8#define APP_CMD_REMOVE_TILE_H_INCLUDED
9#pragma once
10
11#include "app/cmd/add_tile.h"
12
13namespace app {
14namespace cmd {
15 using namespace doc;
16
17 class RemoveTile : public AddTile {
18 public:
19 RemoveTile(Tileset* tileset, const tile_index ti);
20
21 protected:
22 void onExecute() override;
23 void onUndo() override;
24 void onRedo() override;
25 };
26
27} // namespace cmd
28} // namespace app
29
30#endif
31