5 * Created by Alyssa Milburn on Sun Jul 23 2006.
6 * Copyright (c) 2006 Alyssa Milburn. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
20 #ifndef AGENTHELPERS_H
21 #define AGENTHELPERS_H
23 bool agentIsVisible(Agent
*seeing
, Agent
*a
, float ownerx
, float ownery
, MetaRoom
*ownermeta
, shared_ptr
<Room
> ownerroom
);
24 bool agentIsVisible(Agent
*seeing
, Agent
*dest
);
25 std::vector
<boost::shared_ptr
<Agent
> > getVisibleList(Agent
*seeing
, unsigned char family
, unsigned char genus
, unsigned short species
);
27 bool agentsTouching(Agent
*first
, Agent
*second
);