Skip to content

Instantly share code, notes, and snippets.

@ytyubox
Created September 8, 2020 05:33
Show Gist options
  • Save ytyubox/7fb74fae54b69c14cc6bcb42e1e4ad1e to your computer and use it in GitHub Desktop.
Save ytyubox/7fb74fae54b69c14cc6bcb42e1e4ad1e to your computer and use it in GitHub Desktop.
Markdium-Inheriting existing Class type to support ObservableObject
class GamePlayer {
var exp: Int = 0
var health: Int = 100
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment