Skip to content

Conversation

@takaokouji
Copy link

do 〜 end は instance_eval によって、レシーバが Sprite.new したオブジェクトとなるようにして処理する想定。

合わせて、 spriteName は self を固定で返すようにした。

do 〜 end は instance_eval によって、レシーバが Sprite.new したオブジェクトとな
るようにして処理する想定。
Sprite.newのブロックで処理することになったため。
@takaokouji takaokouji merged commit 125667f into develop Oct 22, 2018
@takaokouji takaokouji deleted the sprite_new_with_block branch October 22, 2018 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants