咳……又是自己摸索……
) b ?1 o! s6 `2 ^; ]4 ?5 Psel = SwarmUtils.getSelector("FoodSpace", "seedFood");
* o1 R# B+ Y+ ]6 v7 n% t1 v$ ?3 y worldRaster.setButton$Client$Message(1, modelSwarm.getFood(), sel);
& ]" S( ~" `7 p
5 |1 C: X) l% \ j \& r( T6 }其中FoodSpace的seedFood函数:
0 ]' g3 x' N1 }public Object seedFood(int x, int y) {, R9 w* C; u. e4 l
putValue$atX$Y(1, x, y);
9 K. i1 Q+ \3 Y" t1 i return this;1 @( ?: e( `' d; W% o. W0 S
} |