diff options
author | Jeanne-Kamikaze <jeannekamikaze@gmail.com> | 2012-09-28 14:38:20 +0200 |
---|---|---|
committer | Jeanne-Kamikaze <jeannekamikaze@gmail.com> | 2012-09-28 14:38:20 +0200 |
commit | 46f7cfcedc02739519b23d483f9b91fa3af5e0bf (patch) | |
tree | b53f1495b2662f6454dcebaa0c885d31a98cf1ac | |
parent | 10ee9bccea3051e087455fc41fd3c485e0051529 (diff) |
Changed setCollisioner arguments order
-rw-r--r-- | Spear/Scene/GameObject.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spear/Scene/GameObject.hs b/Spear/Scene/GameObject.hs index 07b91fd..d98299c 100644 --- a/Spear/Scene/GameObject.hs +++ b/Spear/Scene/GameObject.hs | |||
@@ -242,8 +242,8 @@ setAxis ax go = go { axis = ax } | |||
242 | 242 | ||
243 | 243 | ||
244 | -- | Set the game object's collisioners. | 244 | -- | Set the game object's collisioners. |
245 | setCollisioners :: GameObject -> [Collisioner] -> GameObject | 245 | setCollisioners :: [Collisioner] -> GameObject -> GameObject |
246 | setCollisioners go cols = go { collisioners = cols } | 246 | setCollisioners cols go = go { collisioners = cols } |
247 | 247 | ||
248 | 248 | ||
249 | -- | Set the game object's window. | 249 | -- | Set the game object's window. |