wizardsandwarriors

com.devbridie.wizardsandwarriors.sample.models / Person

Person

data class Person : Combattable

Constructors

Name Summary
<init> Person(type: PersonType, weapon: Optional<Weapon> = Optional.empty(), id: Int = Counter.id++)

Properties

Name Summary
id val id: Int
type var type: PersonType
weapon var weapon: Optional<Weapon>

Functions

Name Summary
toString fun toString(): String

Companion Object Properties

Name Summary
id var id: Int