summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-22 13:46:32 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-22 13:46:32 +0200 |
commit | 2d20dc042a386bc9f66bc5f535403227f9acf1b1 (patch) | |
tree | 49e529ff4e12841d160627d9853c088ba0dd637b /client/elm/battlemap/src/Battlemap/Direction.elm | |
parent | 0d5fba42a1597e5a43266c071776e7acf58071e2 (diff) |
No more import ... exposing.
It got too confusing.
Diffstat (limited to 'client/elm/battlemap/src/Battlemap/Direction.elm')
-rw-r--r-- | client/elm/battlemap/src/Battlemap/Direction.elm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/elm/battlemap/src/Battlemap/Direction.elm b/client/elm/battlemap/src/Battlemap/Direction.elm index e301177..5aad141 100644 --- a/client/elm/battlemap/src/Battlemap/Direction.elm +++ b/client/elm/battlemap/src/Battlemap/Direction.elm @@ -1,13 +1,13 @@ -module Battlemap.Direction exposing (Direction(..), opposite_of) +module Battlemap.Direction exposing (Type(..), opposite_of) -type Direction = +type Type = None | Left | Right | Up | Down -opposite_of : Direction -> Direction +opposite_of : Type -> Type opposite_of d = case d of Left -> Right |