summaryrefslogtreecommitdiffhomepage
path: root/components/01_sprite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'components/01_sprite.rb')
-rw-r--r--components/01_sprite.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/01_sprite.rb b/components/01_sprite.rb
index 8d30cdf..c02a51b 100644
--- a/components/01_sprite.rb
+++ b/components/01_sprite.rb
@@ -1,3 +1,15 @@
+
+FelFlame::Components.new('Sprite', :x, :y, :w, :h, :path, :angle, :a, :r, :g, :b,
+ :source_x, :source_y, :source_w, :source_h,
+ :tile_x, :tile_y, :tile_w, :tile_h,
+ :flip_horizontally, :flip_vertically,
+ :angle_anchor_x, :angle_anchor_y, primative_marker: :sprite)
+
+#Components::Sprite.define_method('primative_marker') do
+# :sprite
+#end
+
+=begin
class Components
# If an entity can be rendered on screen
class Sprite < Helper::BaseComponent
@@ -42,3 +54,4 @@ class Components
end
end
end
+=end