koreezgames / phaser3-ninepatch-plugin

Nine Patch plugin for Phaser3!
MIT License
71 stars 3 forks source link

addToScene is required #8

Closed RollinSafary closed 6 years ago

RollinSafary commented 6 years ago

Expected Behavior

All the phasers' game objects have optional argument addToScene - not required

Current Behavior

this.make.ninePatch(config, addToScene) requiresaddToScene`

Possible Solution

just make it optional

Steps to Reproduce (for bugs)

  1. try to make ninePatch via this.make.ninePatch

Your Environment

saqsun commented 6 years ago

fixed