Skip to content

Instantly share code, notes, and snippets.

@devbyray
Created January 31, 2020 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devbyray/4f6ffdfed3c99a3ea143471e692344e0 to your computer and use it in GitHub Desktop.
Save devbyray/4f6ffdfed3c99a3ea143471e692344e0 to your computer and use it in GitHub Desktop.
class Elf extends Character {
public armour: number = 1000;
public height: number = 100
public width: number = 20
public weight: number = 90
public type: CharacterType = CharacterType.ELF
constructor() {
super()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment