add gettarget func

This commit is contained in:
yuexin 2020-12-03 21:16:22 +08:00
parent f3da8a4c8e
commit 1c0ecf6c4b

View File

@ -7,6 +7,7 @@ import { EffectCardType } from "../skill/SkillConst";
import { Pet } from "rooms/schema/Pet"; import { Pet } from "rooms/schema/Pet";
import {SkillParam} from "../skill/SkillParam"; import {SkillParam} from "../skill/SkillParam";
import { Room } from "colyseus"; import { Room } from "colyseus";
import { Skill } from "../skill/Skill";
export class BattleHandler { export class BattleHandler {
@ -35,12 +36,8 @@ export class BattleHandler {
return aplayer? this._players.get(aplayer): null; return aplayer? this._players.get(aplayer): null;
}; };
public getTargetPets(){ public getSkillTargets(skill: Skill, param: SkillParam){
//todo:
};
public getTargetPlayer(){
}; };