Sha256: e5f86d936d7de98b063afe4ce8332b1cabc51906e23c1203155acb8ecd1cda0c
Contents?: true
Size: 520 Bytes
Versions: 3
Compression:
Stored size: 520 Bytes
Contents
class ActionsLayer < Joybox::Core::Layer def on_enter layout_characters end def layout_characters @first_character = Sprite.new file_name: 'sprites/character_horn_girl.png', position: [773, 100] self << @first_character @second_character = Sprite.new file_name: 'sprites/character_pink_girl.png', position: [300, 400] self << @second_character @third_character = Sprite.new file_name: 'sprites/character_boy.png', position: [250, 400] self << @third_character end end
Version data entries
3 entries across 3 versions & 1 rubygems