public virtual void Logic_NormalAttack() { curAttackTime = attackTime; GameVector2 _bulletPos = objShape.GetPosition() + ToolMethod.Logic2Config(objShape.GetRadius()) * BattleData.Instance.GetSpeed(roleDirection); BattleCon.Instance.bulletManage.AddBullet(objShape.ObjUid.objectID, _bulletPos, roleDirection); }
public virtual void Logic_Collision() { if (BattleCon.Instance.obstacleManage.AttackObstacle(objShape.ObjUid, objShape.GetPosition(), objShape.GetRadius(), 1)) { curLife = 0; } }