summaryrefslogtreecommitdiffhomepage
path: root/app/sprites.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/sprites.rb')
-rw-r--r--app/sprites.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/sprites.rb b/app/sprites.rb
new file mode 100644
index 0000000..0016436
--- /dev/null
+++ b/app/sprites.rb
@@ -0,0 +1,28 @@
+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