@@ -74,32 +74,21 @@ export class CombatComponent
74
74
implements IProcessObject , OnDestroy , AfterViewInit
75
75
{
76
76
@Input ( ) scene : Scene = new Scene ( ) ;
77
- /**
78
- * A pointing UI element that can be attached to `SceneObject`s to attract attention
79
- * @type {null }
80
- */
77
+ /** A pointing UI element that can be attached to `SceneObject`s to attract attention */
81
78
pointer : UIAttachment | null = null ;
82
79
83
- /**
84
- * Available menu items for selection.
85
- */
86
- @Input ( )
87
- items : ICombatMenuItem [ ] = [ ] ;
80
+ /** Available menu items for selection. */
81
+ @Input ( ) items : ICombatMenuItem [ ] = [ ] ;
88
82
89
83
/** The combat state machine */
90
84
@ViewChild ( CombatStateMachineComponent ) machine : CombatStateMachineComponent ;
91
85
92
- /**
93
- * Damages displaying on screen.
94
- * @type {Array }
95
- */
86
+ /** Damages displaying on screen. */
96
87
@Input ( ) damages : ICombatDamageSummary [ ] = [ ] ;
97
88
98
89
@Input ( ) defaultState : CombatStateNames | null = 'start' ;
99
90
100
- /**
101
- * Mouse hook for capturing input with world and screen coordinates.
102
- */
91
+ /** Mouse hook for capturing input with world and screen coordinates. */
103
92
mouse : NamedMouseElement | null = null ;
104
93
105
94
@ViewChild ( 'combatCanvas' ) canvasElementRef : ElementRef ;
@@ -318,7 +307,7 @@ export class CombatComponent
318
307
}
319
308
320
309
/**
321
- * Render all of the map feature components
310
+ * Render all of the map features and combatants.
322
311
*/
323
312
renderFrame ( elapsed : number ) {
324
313
this . clearRect ( ) ;
0 commit comments