xhads/source/effect.ads

35 lines
1.2 KiB
Ada
Raw Normal View History

2024-02-15 21:03:09 -05:00
with core;
package effect is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
type codex is (
none, one
);
------------------------------------------------------------------------------------------
type information is
record
name : core.short_string;
make : boolean;
end record;
------------------------------------------------------------------------------------------
count : constant natural := codex'pos (codex'last) + 1;
2024-04-23 16:19:29 -04:00
trait : constant array (codex) of information := (
2024-02-15 21:03:09 -05:00
("- ", true),
("- ", true)
);
------------------------------------------------------------------------------------------
procedure draw (value : in codex; x, y : in integer);
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
end effect;