diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 14:02:34 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 14:02:34 +0200 |
commit | fe8f7273f0efdfe319a0d3e3b2fc2847992745af (patch) | |
tree | 9f56560c8a35c3e281881fa48cd79b26f8e8de7e /StepTileCommand.cpp | |
parent | 4cb7ca42003c177e3acc80075d7594e555966106 (diff) |
fix more design
Diffstat (limited to 'StepTileCommand.cpp')
-rw-r--r-- | StepTileCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StepTileCommand.cpp b/StepTileCommand.cpp index cc7d62d..bac9f5d 100644 --- a/StepTileCommand.cpp +++ b/StepTileCommand.cpp @@ -13,7 +13,7 @@ void StepTileCommand::execute() { if (this->x >= canvas.data.columns) return; if (this->y >= canvas.data.rows) return; Tile & tile = canvas.get_tile(this->x, this->y); - tile.step(nullptr); + tile.behavior->step(nullptr); tile.update(); } |