Seed(3)                                                                Seed(3)



NNAAMMEE
       Seed -

SSYYNNOOPPSSIISS
   PPuubblliicc MMeetthhooddss
       string qquueerryy__ppllaanntt__ttyyppee ()
       int qquueerryy__sseeeedd__ssttrreennggtthh ()
       void sseett__ppllaanntt__ttyyppee (string x)
       void sseett__sseeeedd__ssttrreennggtthh (int x)

   PPuubblliicc AAttttrriibbuutteess
       string ppllaanntt__ttyyppee
       int sseeeedd__ssttrreennggtthh

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       This component allows you to make an object into a seed. The seed
       component defines a variable, plant_type, which tells you what the seed
       turns into when it grows. It also defines a default on_plant event,
       which is what gets called when the seed is planted, and simply creates
       a new plant.

       Definition at line 12 of file inherit/seed.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   ssttrriinngg qquueerryy__ppllaanntt__ttyyppee (())
       Get plant_type.

       Definition at line 22 of file inherit/seed.c.

       References plant_type.

   iinntt qquueerryy__sseeeedd__ssttrreennggtthh (())
       Get seed_strength.

       Definition at line 27 of file inherit/seed.c.

       References seed_strength.

   vvooiidd sseett__ppllaanntt__ttyyppee ((ssttrriinngg xx))
       Set plant_type to _x.

       Definition at line 32 of file inherit/seed.c.

       References plant_type.

   vvooiidd sseett__sseeeedd__ssttrreennggtthh ((iinntt xx))
       Set seed_strength to _x.

       Definition at line 37 of file inherit/seed.c.

       References seed_strength.

MMEEMMBBEERR DDAATTAA DDOOCCUUMMEENNTTAATTIIOONN
   ssttrriinngg ppllaanntt__ttyyppee
       The file name of the plant template (i.e. /econ/plants/...).

       Definition at line 16 of file inherit/seed.c.

       Referenced by query_plant_type(), and set_plant_type().

   iinntt sseeeedd__ssttrreennggtthh
       The amount of stored energy this seed gets to start off with.

       Definition at line 19 of file inherit/seed.c.

       Referenced by query_seed_strength(), and set_seed_strength().


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                           Seed(3)
