dd
This commit is contained in:
41
assets/script/game/map/RefController.ts
Normal file
41
assets/script/game/map/RefController.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
import { _decorator,v3 ,NodeEventType} from "cc";
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { smc } from "../common/SingletonModuleComp";
|
||||
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
||||
import { HeroCard } from "../monster/HeroCard";
|
||||
import { HeroCardViewComp } from "../monster/HeroCardViewComp";
|
||||
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
|
||||
import { CardList } from "../common/config/CardSet";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
/** 视图层对象 */
|
||||
@ccclass('RefControllerComp')
|
||||
@ecs.register('RefController', false)
|
||||
export class RefControllerComp extends CCComp {
|
||||
card_level = 1;
|
||||
|
||||
protected onLoad(): void {
|
||||
|
||||
}
|
||||
|
||||
start() {
|
||||
|
||||
}
|
||||
|
||||
protected update(dt: number): void {
|
||||
|
||||
}
|
||||
|
||||
reset() {
|
||||
this.node.destroy();
|
||||
}
|
||||
|
||||
onTouch(){
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user