i´m trying to programm a simple observer pattern. I use toxi´s verlet physics lib and try to connect particles via an observer pattern, so they can communicate with one another. I want to achieve different agent behavior that can change dependent on messages an agent recieves. I´m at the very beginning and don´t really know where it will lead me to, so i try to programm something really basic that can be easily extended. But at the moment i always get an exception that say´s
"unexpected token void" at my "void setup(){" line.
When i comment out my interfaces and all the stuff which has to do with it, no problem no more. But i can´t find any syntax error or something like that. Maybe i´m to blind, or maybe i don´t know enough about the usage of interfaces. I don´t know, so help is really welcome. I´m using Processing 1.2.1 (with java) on a windows 7 64bit system.