SpriteComponent(this.sprite, [Transform? transform]) { if(transform != null) { this.transform = transform; } }