xhads/source/chad.adb

28 lines
899 B
Ada
Raw Normal View History

with core, ui, faction, chad;
use chad;
package body chad is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
procedure configure is
begin
for index in codex
loop
--~sprite (index) := core.load_sprite ("./sprite/chad/" & core.lowercase (codex'image (index)) & ".png", 1, 1);
null;
end loop;
end configure;
------------------------------------------------------------------------------------------
procedure draw (index : in codex; x, y : in integer) is
begin
core.draw (sprite (index), x, y);
end draw;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
end chad;