ai_builder.cc 779 B

123456789101112131415161718192021222324252627
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #include "team_api.hh"
  9. class ai_builder : public g1_team_api_class
  10. {
  11. public:
  12. ai_builder(g1_loader_class *f=0)
  13. {
  14. }
  15. virtual void think()
  16. {
  17. build_unit(g1_get_object_type("peon_tank"));
  18. }
  19. };
  20. g1_team_api_definer<ai_builder> ai_builder_def("ai_builder");