[freeciv-ai] Re: patch/rfc: wrap activity
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 27 Nov 2002, Per I. Mathisen wrote:
> > On the other hand, although I am against moving AI to client, there should
> > be good separation between AI and the game engine.This wrapper provides
> > another layer of this separation.But maybe handle_unit_activity_request
> > is enough of a separation?
>
> Probably. I'll make a new patch to move the check into
> handle_unit_activity_request and make the rest of the code use it (instead
> of set_unit_activity).
this idea combines worst of all cases. Make AI do the cheking in the
code. Or make a mini-function, ai_fortify which does only that.
G.
|
|