Changeset 443


Ignore:
Timestamp:
11/26/15 02:55:27 (8 years ago)
Author:
sz
Message:

Object definitions updated (Framsticks v4.4)

  • Creature.name size is now 40 characters, to match Genotype.name
  • FunctionReference? description edited
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/Framclipse/com.framsticks.framclipse/res/framscript.xml

    r440 r443  
    115115function onDied(cr) {Simulator.print("Creature "+cr.name+" has died");}
    116116See also: Population.]]></description>
    117                 <element name="name" type="string" max="30"/>
     117                <element name="name" type="string" max="40"/>
    118118                <element name="genotype" type="string" flags="1"/>
    119119                <element name="info" type="string">
     
    401401<description><![CDATA[A data object consisting of the same fields as the serialized Creature. Typically used for reading a Creature back from a file, then Population.add(snapshot_object) creates the Creature object from the snapshot.]]></description>
    402402                <element name="new" function="true" type="Creature"><arguments/></element>
    403                 <element name="name" type="string" max="30"/>
     403                <element name="name" type="string" max="40"/>
    404404                <element name="genotype" type="string"/>
    405405                <element name="info" type="string">
     
    642642        </type>
    643643        <type name="FunctionReference" context="Global context">
    644 <description><![CDATA[Function reference objects are created using the 'function' operator, the referenced function can be called using the 'call' operator:
     644<description><![CDATA[Function reference objects are created using the 'function' operator. The referenced function can be called using the 'call' operator:
    645645
    646646        function abc(a,b)
     
    54985498function onDied(cr) {Simulator.print("Creature "+cr.name+" has died");}
    54995499See also: Population.]]></description>
    5500                 <element name="name" type="string" max="30"/>
     5500                <element name="name" type="string" max="40"/>
    55015501                <element name="genotype" type="string" flags="1"/>
    55025502                <element name="info" type="string">
Note: See TracChangeset for help on using the changeset viewer.