aboutsummaryrefslogtreecommitdiff
path: root/calculette_aoo/lib/carac.mli
blob: f364c816c4f5be5ba10a6573b0f60b61002f0fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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