Switch to Barotrauma & too many misc changes to remember
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
using Lidgren.Network;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Subsurface.Networking;
|
||||
using Barotrauma.Networking;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Subsurface
|
||||
namespace Barotrauma
|
||||
{
|
||||
class AICharacter : Character
|
||||
{
|
||||
@@ -14,6 +14,11 @@ namespace Subsurface
|
||||
|
||||
private AIController aiController;
|
||||
|
||||
public override AIController AIController
|
||||
{
|
||||
get { return aiController; }
|
||||
}
|
||||
|
||||
public AICharacter(string file) : this(file, Vector2.Zero, null)
|
||||
{
|
||||
}
|
||||
@@ -37,7 +42,10 @@ namespace Subsurface
|
||||
public AICharacter(string file, Vector2 position, CharacterInfo characterInfo = null, bool isNetworkPlayer = false)
|
||||
: base(file, position, characterInfo, isNetworkPlayer)
|
||||
{
|
||||
aiController = new EnemyAIController(this, file);
|
||||
aiController = new EnemyAIController(this, file);
|
||||
|
||||
|
||||
if (GameMain.Client != null && GameMain.Server == null) Enabled = false;
|
||||
}
|
||||
|
||||
public override void Update(Camera cam, float deltaTime)
|
||||
|
||||
Reference in New Issue
Block a user