migrate from perforce
This commit is contained in:
50
dist/Simulation/Models/SimCell.js
vendored
Normal file
50
dist/Simulation/Models/SimCell.js
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
export class SimCell {
|
||||
_hex;
|
||||
_distance;
|
||||
_type;
|
||||
_blockedType = -1;
|
||||
_index;
|
||||
_simTower = null;
|
||||
_pathsToTarget = [];
|
||||
constructor(hex, distance, type, index) {
|
||||
this._hex = hex;
|
||||
this._distance = distance;
|
||||
this._type = type;
|
||||
this._index = index;
|
||||
}
|
||||
;
|
||||
get hex() {
|
||||
return this._hex;
|
||||
}
|
||||
get distance() {
|
||||
return this._distance;
|
||||
}
|
||||
get type() {
|
||||
return this._type;
|
||||
}
|
||||
set type(value) {
|
||||
this._type = value;
|
||||
}
|
||||
get blockedType() {
|
||||
return this._blockedType;
|
||||
}
|
||||
set blockedType(value) {
|
||||
this._blockedType = value;
|
||||
}
|
||||
get index() {
|
||||
return this._index;
|
||||
}
|
||||
get simTower() {
|
||||
return this._simTower;
|
||||
}
|
||||
set simTower(value) {
|
||||
this._simTower = value;
|
||||
}
|
||||
get pathsToTarget() {
|
||||
return this._pathsToTarget;
|
||||
}
|
||||
set pathsToTarget(value) {
|
||||
this._pathsToTarget = value;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=SimCell.js.map
|
||||
Reference in New Issue
Block a user