forked from SuperTux/supertux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to trigger objects code
Issues improvements to the code of trigger objects. Triggers, utilizing sprites, instead of managing sprites on their own, now inherit the new `SpritedTrigger` class, which inherits both `MovingSprite` and `TriggerBase`. Triggers, which do not utilize sprites, inherit the new `Trigger` class, which inherits both `MovingObject` and `TriggerBase`. A lot of unneeded leftover code has been removed. This includes unused constructors, leftover variables and functions.
- Loading branch information
1 parent
263ec93
commit de5682f
Showing
16 changed files
with
156 additions
and
373 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
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
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
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
Oops, something went wrong.