BaseCombat

documents. BaseCombat

The base Combat model definition which defines common behavior of an Combat document between both client and server.

Constructor

new BaseCombat()

Properties:
Name Type Description
data data.CombatData

The constructed data object for the document.

Extends

  • Document

Members

(static) metadata

(static) schema

combatants

A reference to the Collection of Combatant instances in the Combat document, indexed by id.

Methods

(protected, static) _canUpdate()

Is a user able to update an existing Combat?