mirror of
https://github.com/martindampier/draw-steel-retainer.git
synced 2026-07-22 05:44:15 +00:00
1.0.5
This commit is contained in:
parent
b9382a24ed
commit
2f78946555
3 changed files with 5 additions and 5 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import Creature from "./Models/Creature";
|
||||
|
||||
export interface MyPluginSettings {
|
||||
export interface RetainerSettings {
|
||||
mySetting: string;
|
||||
playerCharacters: Creature[];
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: MyPluginSettings = {
|
||||
export const DEFAULT_SETTINGS: RetainerSettings = {
|
||||
mySetting: 'default',
|
||||
playerCharacters: [],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ export class InitiativeView extends ItemView {
|
|||
this.round = round;
|
||||
div = div ?? this.roundEl.createDiv({ cls: "leftAlign roundHeader"});
|
||||
div.setText("Round: " + this.round);
|
||||
var newRoundButton = new ButtonComponent(div);
|
||||
let newRoundButton = new ButtonComponent(div);
|
||||
newRoundButton.setButtonText("New");
|
||||
newRoundButton.setClass("headerButtonLeft");
|
||||
newRoundButton.onClick( () => {
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ import { App, ButtonComponent, Editor, MarkdownView, Modal, Notice, Plugin, Plug
|
|||
import { InitiativeView } from './Views/InitiativeTrackerView';
|
||||
import { INITIATIVE_VIEW, TableFormat, TableFlag } from 'lib/Models/Constants';
|
||||
import Creature from 'lib/Models/Creature';
|
||||
import {MyPluginSettings, DEFAULT_SETTINGS} from 'lib/Settings'
|
||||
import {RetainerSettings, DEFAULT_SETTINGS} from 'lib/Settings'
|
||||
import { CreatureTypes } from './Models/CreatureTypes';
|
||||
// Remember to rename these classes and interfaces!
|
||||
|
||||
export default class ForbiddenLandsCharacterSheet extends Plugin {
|
||||
settings: MyPluginSettings;
|
||||
settings: RetainerSettings;
|
||||
creatures: Creature[] = [];
|
||||
|
||||
async onload() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue