mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
start of ai based on kjLotus's code on dsp
This commit is contained in:
32
FFXIVClassic Map Server/actors/chara/ai/AIContainer.cs
Normal file
32
FFXIVClassic Map Server/actors/chara/ai/AIContainer.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using FFXIVClassic_Map_Server.Actors;
|
||||
using FFXIVClassic_Map_Server.actors.chara.ai.state;
|
||||
using FFXIVClassic_Map_Server.actors.chara.ai.controllers;
|
||||
|
||||
// port of ai code in dsp by kjLotus
|
||||
namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
{
|
||||
// todo: actually implement stuff
|
||||
class AIContainer
|
||||
{
|
||||
private Character owner;
|
||||
private Controller controller;
|
||||
private List<State> states;
|
||||
private DateTime latestUpdate;
|
||||
private DateTime prevUpdate;
|
||||
|
||||
public AIContainer(Actors.Character actor)
|
||||
{
|
||||
this.owner = actor;
|
||||
}
|
||||
|
||||
public void ChangeController(Controller controller)
|
||||
{
|
||||
this.controller = controller;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user