[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ModelSwarm
From: |
Li An |
Subject: |
ModelSwarm |
Date: |
Wed, 18 Dec 2002 12:34:47 -0500 |
Hi,
I am trying to "translate" the Obj-C heatbug examples into Java codes. I
defined a step() methos in the Bug.class. In another class called
ModelSwarm.java, I built a schedule called modelSchedule (subclassed from
ScheduleImpl) and had the following command:
modelSchedule.at$createActionTo$message(1,aBug,M(step)); (where aBug is an
object of the class Bug).
After compiling, I found the following error: "No entity named 'step' was
found in this environment".
What is wrong? step() is defined in Bug class and aBug is instantiated in
ModelSwarm class , why is step not recognized here?
Thanks,
Li
Li An
Systems Modeling Lab
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824
Phone (Work): 517-353-7981
Fax: 517-432-1699
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.