[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Modelling] world getObjectAt
From: |
Georg A. |
Subject: |
Re: [Swarm-Modelling] world getObjectAt |
Date: |
Tue, 3 Jun 2003 15:53:03 +0200 |
id someThing = [yourGrid getObjectAtX: x Y: y];
if (someThing != nil)
{
//tell someThing to do something
}
that's right, but I want to get a object, check its attributes
and if it has a certain attribut I want it to move in one direction
and if it has another attribute I want it to move in another direction
and so far the getObject method didn't work
Georg
--
########################################
address@hidden
www.ge-org.com
Unser Leben ist das, wozu es unser Denken macht.
########################################
- Re: [Swarm-Modelling] world getObjectAt,
Georg A. <=