forked from noxious/server
Removed redundant columns
This commit is contained in:
parent
5c34ed7286
commit
7f4a784915
@ -6,15 +6,9 @@ export class BaseWorld extends BaseEntity {
|
|||||||
@PrimaryKey()
|
@PrimaryKey()
|
||||||
date = new Date()
|
date = new Date()
|
||||||
|
|
||||||
@Property()
|
|
||||||
isRainEnabled = false
|
|
||||||
|
|
||||||
@Property()
|
@Property()
|
||||||
rainPercentage = 0
|
rainPercentage = 0
|
||||||
|
|
||||||
@Property()
|
|
||||||
isFogEnabled = false
|
|
||||||
|
|
||||||
@Property()
|
@Property()
|
||||||
fogDensity = 0
|
fogDensity = 0
|
||||||
|
|
||||||
@ -27,15 +21,6 @@ export class BaseWorld extends BaseEntity {
|
|||||||
return this.date
|
return this.date
|
||||||
}
|
}
|
||||||
|
|
||||||
setIsRainEnabled(isRainEnabled: boolean) {
|
|
||||||
this.isRainEnabled = isRainEnabled
|
|
||||||
return this
|
|
||||||
}
|
|
||||||
|
|
||||||
getIsRainEnabled() {
|
|
||||||
return this.isRainEnabled
|
|
||||||
}
|
|
||||||
|
|
||||||
setRainPercentage(rainPercentage: number) {
|
setRainPercentage(rainPercentage: number) {
|
||||||
this.rainPercentage = rainPercentage
|
this.rainPercentage = rainPercentage
|
||||||
return this
|
return this
|
||||||
@ -45,15 +30,6 @@ export class BaseWorld extends BaseEntity {
|
|||||||
return this.rainPercentage
|
return this.rainPercentage
|
||||||
}
|
}
|
||||||
|
|
||||||
setIsFogEnabled(isFogEnabled: boolean) {
|
|
||||||
this.isFogEnabled = isFogEnabled
|
|
||||||
return this
|
|
||||||
}
|
|
||||||
|
|
||||||
getIsFogEnabled() {
|
|
||||||
return this.isFogEnabled
|
|
||||||
}
|
|
||||||
|
|
||||||
setFogDensity(fogDensity: number) {
|
setFogDensity(fogDensity: number) {
|
||||||
this.fogDensity = fogDensity
|
this.fogDensity = fogDensity
|
||||||
return this
|
return this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user