咳……又是自己摸索……
. a0 f1 T7 g$ csel = SwarmUtils.getSelector("FoodSpace", "seedFood");4 {. L8 j4 L! C
worldRaster.setButton$Client$Message(1, modelSwarm.getFood(), sel);: A! d1 ~* O( m& B
6 ]1 A) p" Q* P
其中FoodSpace的seedFood函数:7 m' n4 V! V3 W
public Object seedFood(int x, int y) {! g t/ o& f; W! O& G
putValue$atX$Y(1, x, y);
5 `' |; K) B1 a) F/ f% W& D return this;% a3 c8 y3 d7 }3 a, {
} |