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

Feat/subclass support #81

Merged
merged 11 commits into from
Nov 2, 2022
Merged

Feat/subclass support #81

merged 11 commits into from
Nov 2, 2022

Conversation

rrbox
Copy link
Owner

@rrbox rrbox commented Nov 2, 2022

各種ノードのサブクラスに対しても同様にモディファイアを追加できるようにします.

サブクラスに対するサポートのためにテストを追加する予定です.
SKSpriteNode サブクラスを対象としたビルダーに対して SKSpriteNode 向けのモディファイを追加してもコンパイルが通ることを確認した.
LabelProcessor の対象を SKLabelNode のサブクラスとした.
SKLabelNode 向けモディファイアの適用範囲を SKLabelNode のサブクラスまで拡大した.
SKLabelNode のサブクラスを対象としたビルダーを作成してもコンパイルが通るか確認した.
ShapeProcessor の有効範囲を SKSpapeNode のサブクラスにまで広げた.
SKShapeNode 向け processor のモディファイアを SKShapeNodeサブクラスに対しても利用できるようにした.
@rrbox rrbox merged commit 6eba1ac into feat/node-make Nov 2, 2022
@rrbox rrbox deleted the feat/subclass-support branch November 2, 2022 17:57
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.

1 participant