xhads/source/deity.adb

34 lines
1.2 KiB
Ada
Raw Normal View History

-- Copyright (c) 2024 - Ognjen 'xolatile' Milan Robovic
--
-- GNU General Public Licence (version 3 or later)
with core;
2024-02-15 21:03:09 -05:00
package body deity is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sprite : array (enumeration) of core.sprite;
2024-02-15 21:03:09 -05:00
------------------------------------------------------------------------------------------
2024-05-15 06:30:40 -04:00
procedure configure is
begin
core.echo (core.comment, "Configuring deity components...");
--
for index in enumeration loop
sprite (index) := core.import_sprite ("./sprite/deity/" & core.uppercase (enumeration'image (index)) & ".png", 4, 1);
end loop;
end configure;
------------------------------------------------------------------------------------------
procedure draw (value : in enumeration; x, y : in integer) is
2024-02-15 21:03:09 -05:00
begin
null;
end draw;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
end deity;