!3 新增ai状态
Merge pull request !3 from 小李/Ai逻辑
commit 0a154663915d61312a71ca886d2bbf19b55cb967
2 parents 077bf23 + de7e4f2
@小李 小李 authored on 8 Dec 2022
Gitee committed on 8 Dec 2022
Showing 14 changed files
View
1
■■■■
DungeonShooting_Godot/scene/Main.tscn
shader_param/offset = Vector2( 0, 0 )
 
[node name="Main" type="Node2D"]
script = ExtResource( 3 )
Debug = true
CursorPack = ExtResource( 4 )
RoomPath = NodePath("ViewCanvas/ViewportContainer/Viewport/Room")
ViewportPath = NodePath("ViewCanvas/ViewportContainer/Viewport")
ViewportContainerPath = NodePath("ViewCanvas/ViewportContainer")
View
2
■■■
DungeonShooting_Godot/src/framework/ActivityObject.cs
/// <summary>
/// 当前物体类型id, 用于区分是否是同一种物体, 如果不是通过 ActivityObject.Create() 函数创建出来的对象那么 ItemId 为 null
/// </summary>
public string ItemId { get; internal set; }
public string ItemId { get; private set; }
/// <summary>
/// 是否放入 ySort 节点下
/// </summary>
View
DungeonShooting_Godot/src/game/item/weapon/gun/Gun.cs
View
DungeonShooting_Godot/src/game/item/weapon/gun/Shotgun.cs
View
DungeonShooting_Godot/src/game/role/Role.cs
View
DungeonShooting_Godot/src/game/role/enemy/Enemy.cs
View
DungeonShooting_Godot/src/game/role/enemy/state/AIStateEnum.cs
View
DungeonShooting_Godot/src/game/role/enemy/state/AiFollowUpState.cs 0 → 100644
View
DungeonShooting_Godot/src/game/role/enemy/state/AiLeaveForState.cs
View
DungeonShooting_Godot/src/game/role/enemy/state/AiNormalState.cs
View
DungeonShooting_Godot/src/game/role/enemy/state/AiSurroundState.cs 0 → 100644
View
DungeonShooting_Godot/src/game/role/enemy/state/AiTailAfterState.cs
View
DungeonShooting_Godot/src/game/role/enemy/state/AiTargetInViewState.cs 100644 → 0
View
DungeonShooting_Godot/src/game/room/RoomManager.cs