35 lines
641 B
TypeScript
35 lines
641 B
TypeScript
/*
|
|
* @Author: WoNiu
|
|
* @Date: 2024-03-26 11:12:32
|
|
* @LastEditTime: 2024-03-27 15:16:42
|
|
* @LastEditors: WoNiu
|
|
* @Description:
|
|
*/
|
|
import { _decorator } from "cc";
|
|
|
|
import { MapTileType } from "./MapTileType";
|
|
|
|
/**
|
|
* @description: 地图数据模型
|
|
*/
|
|
export class MapTitleModel {
|
|
//* 地块类型
|
|
type: MapTileType;
|
|
|
|
//* 地块占领状态(是谁占领的,)
|
|
occupState: string;
|
|
|
|
//* 占领等级
|
|
occupyLevel: 0 | 1 | 2 | 3;
|
|
|
|
//* 决斗场等级
|
|
fightLevel: 0 | 2 | 4 | 8;
|
|
|
|
constructor(type: MapTileType) {
|
|
this.type = type;
|
|
this.occupState = "";
|
|
this.occupyLevel = 0;
|
|
this.fightLevel = 0;
|
|
}
|
|
}
|