Skip to content

Commit

Permalink
Add NinePatchComponent to SnapshotSerializer (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobe-m authored Nov 14, 2024
1 parent 5e125c4 commit ad20c5f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ class SnapshotSerializer {
polymorphic(Component::class) {
subclass(EntityLinkComponent::class)
subclass(InfoComponent::class)
subclass(TouchInputComponent::class)
subclass(LayerComponent::class)
subclass(LayeredSpriteComponent::class)
subclass(LayoutComponent::class)
subclass(LevelMapComponent::class)
subclass(LifeCycleComponent::class)
subclass(MotionComponent::class)
subclass(NinePatchComponent::class)
subclass(NoisyMoveComponent::class)
subclass(OffsetByFrameIndexComponent::class)
subclass(ParallaxComponent::class)
Expand All @@ -156,12 +156,13 @@ class SnapshotSerializer {
subclass(SizeComponent::class)
subclass(SoundComponent::class)
subclass(SpawnerComponent::class)
subclass(SpriteLayersComponent::class)
subclass(SpriteComponent::class)
subclass(SpriteLayersComponent::class)
subclass(SubEntitiesComponent::class)
subclass(SwitchLayerVisibilityComponent::class)
subclass(TextFieldComponent::class)
subclass(TiledLevelMapComponent::class)
subclass(TouchInputComponent::class)
subclass(TweenPropertyComponent::class)
subclass(TweenSequenceComponent::class)
}
Expand Down

0 comments on commit ad20c5f

Please sign in to comment.