-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from hpi-swa-teaching/tmm-dev
Merge Tile Tool
- Loading branch information
Showing
143 changed files
with
20,100 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
" | ||
Command that adds a new layer | ||
" | ||
Class { | ||
#name : #GMTEAddLayerCommand, | ||
#superclass : #GMTECommand, | ||
#instVars : [ | ||
'editor' | ||
], | ||
#category : 'GM-TE-Editor' | ||
} | ||
|
||
{ | ||
#category : #'as yet unclassified', | ||
#'squeak_changestamp' : 'Alex M 7/4/2024 01:30' | ||
} | ||
GMTEAddLayerCommand class >> withEditor: anEditor [ | ||
|
||
^ (self new) | ||
editor: anEditor; | ||
yourself | ||
] | ||
|
||
{ | ||
#category : #execution, | ||
#'squeak_changestamp' : 'Alex M 7/6/2024 23:13' | ||
} | ||
GMTEAddLayerCommand >> do [ | ||
|
||
self editor addTilemapLayer | ||
] | ||
|
||
{ | ||
#category : #accessing, | ||
#'squeak_changestamp' : 'Alex M 7/12/2024 21:37' | ||
} | ||
GMTEAddLayerCommand >> editor [ | ||
|
||
^ editor | ||
] | ||
|
||
{ | ||
#category : #accessing, | ||
#'squeak_changestamp' : 'Alex M 7/12/2024 21:37' | ||
} | ||
GMTEAddLayerCommand >> editor: anObject [ | ||
|
||
editor := anObject | ||
] | ||
|
||
{ | ||
#category : #execution, | ||
#'squeak_changestamp' : 'Alex M 7/7/2024 00:53' | ||
} | ||
GMTEAddLayerCommand >> undo [ | ||
|
||
self editor deleteTilemapLayers: {self editor getLayerList size} | ||
] |
Oops, something went wrong.