Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0398/empty-sprite] 空スプライト作成処理を新関数に置き換え #1038

Merged
merged 2 commits into from Apr 3, 2021

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented Apr 2, 2021

🔨 変更内容 / Details of Changes

  1. 空スプライト作成処理をcreateSprite関数からcreateEmptySprite関数に変更しました。
    createDivCss2Labelと同じように、オブジェクト引数を持っています。
  2. createOptionWindow, createSettingsDisplayWindow関数の引数をオブジェクトに変更しました。

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. 空スプライト作成処理のみ、拡張性に乏しい関数になっていたため。
  2. 引数が文字列となっていたことで煩雑になっていたため。

📷 スクリーンショット / Screenshot

📝 その他コメント / Other Comments

@codeclimate
Copy link

codeclimate bot commented Apr 3, 2021

Code Climate has analyzed commit a7092da and detected 0 issues on this pull request.

View more on Code Climate.

@cwtickle cwtickle marked this pull request as ready for review April 3, 2021 03:33
@cwtickle cwtickle merged commit 22e22e8 into develop Apr 3, 2021
@cwtickle cwtickle deleted the feature/0398-empty-sprite branch April 4, 2021 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant