BlockSkillViewBase.ts
482 Bytes
import { MapView } from "../kernel/battle/map/MapView";
import BlockView from "./BlockView";
export class BlcokSkillViewBase {
protected _owner: BlockView;
protected _mapView: MapView;
constructor(owner: BlockView, mapView: MapView) {
this._owner = owner;
this._mapView = mapView;
}
onCollision() {
}
onDead() {
//owner已经destroy了
}
onPositionChange(x: number, y: number) {
}
onDestroy() {
}
}