1234567891011121314151617181920212223242526272829 |
- const ThemeManager = require("../utils/ThemeManger");
- cc.Class({
- extends: cc.Component,
- properties: {
-
- bottomSprite: cc.Sprite
- },
- // LIFE-CYCLE CALLBACKS:
- init(cityId) {
- this.cityId = cityId;
- ThemeManager.setBottomBuildSpriteFrame(cityId, this.bottomSprite);
- },
- onLoad () {
-
-
- },
- start () {
- },
- // update (dt) {},
- });
|