1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
class Guepet { point pos; float t = 0.1; void init() { pos.x = 12.123; pos.y = 34.345; F(t); } } extern void object::Fourmi6() { Guepet guepe=new Guepet(); guepe.init(); show ( guepe ); }