优化若干代码
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
import { _decorator } from 'cc'
|
||||
export class FishInfo {
|
||||
public fishType: number
|
||||
public name: string
|
||||
public blood: number
|
||||
public wikiScale: number
|
||||
constructor(
|
||||
fishType: number,
|
||||
name: string,
|
||||
blood: number,
|
||||
wikiScale: number
|
||||
) {
|
||||
this.fishType = fishType
|
||||
this.name = name
|
||||
this.blood = blood
|
||||
this.wikiScale = wikiScale
|
||||
}
|
||||
public fishType: number
|
||||
public name: string
|
||||
public blood: number
|
||||
public wikiScale: number
|
||||
|
||||
constructor(
|
||||
fishType: number,
|
||||
name: string,
|
||||
blood: number,
|
||||
wikiScale: number
|
||||
) {
|
||||
this.fishType = fishType
|
||||
this.name = name
|
||||
this.blood = blood
|
||||
this.wikiScale = wikiScale
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user