summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-08-10 18:23:48 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-08-10 18:23:48 +0200
commit120b0b7f6df0c8978aac9a423cbf8364feac4779 (patch)
tree9fd0b29790de37c8f3f6c786391a543d79b74164 /src/shared/battle/Battle/View/Help
parent69611b72a28333c129ad25c3daae92b4215ac5d4 (diff)
Statistics -> Attributes.
Diffstat (limited to 'src/shared/battle/Battle/View/Help')
-rw-r--r--src/shared/battle/Battle/View/Help/Attribute.elm (renamed from src/shared/battle/Battle/View/Help/Statistic.elm)12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/battle/Battle/View/Help/Statistic.elm b/src/shared/battle/Battle/View/Help/Attribute.elm
index 0e1f056..f7bd9e1 100644
--- a/src/shared/battle/Battle/View/Help/Statistic.elm
+++ b/src/shared/battle/Battle/View/Help/Attribute.elm
@@ -1,11 +1,11 @@
-module Battle.View.Help.Statistic exposing (get_html_contents)
+module Battle.View.Help.Attribute exposing (get_html_contents)
-- Elm -------------------------------------------------------------------------
import Html
import Html.Attributes
-- Battle ----------------------------------------------------------------------
-import Battle.Struct.Statistics
+import Battle.Struct.Attributes
import Battle.Lang.English
-- Local Module ----------------------------------------------------------------
@@ -15,7 +15,7 @@ import Struct.Event
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
get_header_html : (
- Battle.Struct.Statistics.Category ->
+ Battle.Struct.Attributes.Category ->
String ->
(Html.Html Struct.Event.Type)
)
@@ -34,7 +34,7 @@ get_header_html cat name =
(Html.Attributes.class
(
"omnimod-icon-"
- ++ (Battle.Struct.Statistics.encode_category cat)
+ ++ (Battle.Struct.Attributes.encode_category cat)
)
)
]
@@ -49,12 +49,12 @@ get_header_html cat name =
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
get_html_contents : (
- Battle.Struct.Statistics.Category ->
+ Battle.Struct.Attributes.Category ->
(List (Html.Html Struct.Event.Type))
)
get_html_contents cat =
let
- (name, tooltip) = (Battle.Lang.English.get_statistic_category_help cat)
+ (name, tooltip) = (Battle.Lang.English.get_attribute_category_help cat)
in
[
(get_header_html cat name),