Ejemplo n.º 1
0
func (self *Ground) Refresh_ground() {
	glog.Info("refresh...")
	// to implement
	for i, cata := range self.catapults {
		glog.Infof("----------------bot%d(%s):----------------", i, cata.name)
		glog.Infof("%v", cata)

	}
}
Ejemplo n.º 2
0
func (self *Ground) Update_ground() {
	glog.Info("Update...")
	// to implement
	for i, cata := range self.catapults {
		glog.Infof("----------------bot%d(%s):----------------", i, cata.name)
		glog.Infof("%v", cata)

	}

	for i, ball := range self.balls {
		glog.Infof("----------------ball%d:----------------", i)
		glog.Infof("%v", ball)

	}

}