diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 20:50:51 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 20:50:51 -0500 |
| commit | 1c462ef3780b33468ed93dde3ab6178765807ffe (patch) | |
| tree | 6ee2f34ed3514c10d146c91b0e8e935cf9d1ccb6 /src/system.h | |
| parent | 937875c4e1432b418f0f5051759e02c8d4c9ffa4 (diff) | |
| download | tanetane-1c462ef3780b33468ed93dde3ab6178765807ffe.tar.gz tanetane-1c462ef3780b33468ed93dde3ab6178765807ffe.tar.bz2 tanetane-1c462ef3780b33468ed93dde3ab6178765807ffe.zip | |
Added MirrorSystem
This is really just for letting one sprite mirror another's movement and animation. I tried doing it in the BehaviourSystem, but you get stuttering if you do it earlier in the loop than the CharacterSystem, so I ended up having to make a new system just for this thing that will not happen very often.
Diffstat (limited to 'src/system.h')
| -rw-r--r-- | src/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/system.h b/src/system.h index c0b0637..a129b3b 100644 --- a/src/system.h +++ b/src/system.h | |||
| @@ -7,6 +7,7 @@ enum class SystemKey { | |||
| 7 | Input, | 7 | Input, |
| 8 | Behaviour, | 8 | Behaviour, |
| 9 | Character, | 9 | Character, |
| 10 | Mirror, | ||
| 10 | Animation, | 11 | Animation, |
| 11 | Camera, | 12 | Camera, |
| 12 | Message, | 13 | Message, |
