aboutsummaryrefslogtreecommitdiff
path: root/calculette_aoo/lib/carac.mli
diff options
context:
space:
mode:
Diffstat (limited to 'calculette_aoo/lib/carac.mli')
-rw-r--r--calculette_aoo/lib/carac.mli17
1 files changed, 17 insertions, 0 deletions
diff --git a/calculette_aoo/lib/carac.mli b/calculette_aoo/lib/carac.mli
new file mode 100644
index 0000000..f364c81
--- /dev/null
+++ b/calculette_aoo/lib/carac.mli
@@ -0,0 +1,17 @@
+type t
+type cout_carac = int * int * int
+
+val create : ?bonus:int -> int -> cout_carac -> t
+
+val cout : t -> int
+(** Get the cost for the upgrades for this property *)
+
+val value : t -> int
+(** Get the value (including upgrades) for this property *)
+
+val incr : ?step:int -> t -> t
+(** Increment this property.
+ step is default 1.
+ *)
+
+val repr : Format.formatter -> t -> unit