summaryrefslogtreecommitdiffhomepage
path: root/app/sprites.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-05-14 20:05:49 -0400
committerrealtradam <[email protected]>2021-05-14 20:05:49 -0400
commit1bf39aaa0d736b1976a32030fd1c18e0eedf1781 (patch)
tree70bc2e70bda09eba2356ed3a67cdbe9efa2b2dd6 /app/sprites.rb
parent6a2996ceae968029be26ed7ebae8785dcfe877d2 (diff)
downloadtypemon-code-1bf39aaa0d736b1976a32030fd1c18e0eedf1781.tar.gz
typemon-code-1bf39aaa0d736b1976a32030fd1c18e0eedf1781.zip
incorperating ECS into dragonruby
Diffstat (limited to 'app/sprites.rb')
-rw-r--r--app/sprites.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/app/sprites.rb b/app/sprites.rb
deleted file mode 100644
index 0016436..0000000
--- a/app/sprites.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-class Sprite
- class <<self
- attr_reader :objects
- end
- @objects = []
- @objects << {
- x: 100,
- y: 100,
- w: 48,
- h: 96,
- path: 'sprites/non-free/Modern_Interiors/test.png',
- source_x: 0,
- source_y: 288,
- source_w: 48,
- source_h: 96
- }
- @objects << {
- x: 100,
- y: 100,
- w: 48,
- h: 96,
- path: 'sprites/non-free/Modern_Interiors/test.png',
- source_x: 48,
- source_y: 288,
- source_w: 48,
- source_h: 96
- }
-end