Skip to content

Commit

Permalink
Day 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
devapromix committed Mar 8, 2018
1 parent 14081db commit a1df0fa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# DisciplesRL (7DRL2018)
![screenshot](https://github.com/devapromix-roguelikes/disciplesrl/blob/master/resources/disciplesrl.png)


Simple roguelike game based on Disciples.

## Screenshots
Expand Down
32 changes: 32 additions & 0 deletions sources/DisciplesRL.GUI.Button.pas
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
unit DisciplesRL.GUI.Button;

interface

uses DisciplesRL.Resources, Vcl.Graphics;

type
TButton = class(TObject)
private

public
constructor Create(ALeft, ATop: Integer; ACanvas: TCanvas; ARes: TResEnum);
destructor Destroy; override;

end;

implementation

{ TButton }

constructor TButton.Create(ALeft, ATop: Integer; ACanvas: TCanvas; ARes: TResEnum);
begin

end;

destructor TButton.Destroy;
begin

inherited;
end;

end.
3 changes: 2 additions & 1 deletion sources/DisciplesRL.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ uses
DisciplesRL.Scene.Menu in 'DisciplesRL.Scene.Menu.pas',
DisciplesRL.Scene.Battle in 'DisciplesRL.Scene.Battle.pas',
DisciplesRL.Scene.Capital in 'DisciplesRL.Scene.Capital.pas',
DisciplesRL.Scene.City in 'DisciplesRL.Scene.City.pas';
DisciplesRL.Scene.City in 'DisciplesRL.Scene.City.pas',
DisciplesRL.GUI.Button in 'DisciplesRL.GUI.Button.pas';

{$R *.res}

Expand Down
1 change: 1 addition & 0 deletions sources/DisciplesRL.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
<DCCReference Include="DisciplesRL.Scene.Battle.pas"/>
<DCCReference Include="DisciplesRL.Scene.Capital.pas"/>
<DCCReference Include="DisciplesRL.Scene.City.pas"/>
<DCCReference Include="DisciplesRL.GUI.Button.pas"/>
<BuildConfiguration Include="Release">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
Expand Down

0 comments on commit a1df0fa

Please sign in to comment.