<?xml version="1.0" encoding="UTF-8"?>
<class name="Waldfrucht" extends="Actor" extends-java="Actor" enable="true" strideversion="1">
    <javadoc xml:space="preserve"/>
    <imports>
        <import target="java.util.*" enable="true"/>
        <import target="greenfoot.*" enable="true"/>
    </imports>
    <implements/>
    <fields>
        <variable access="private" type="String" type-java="String" name="name" enable="true"/>
        <variable access="private" type="int" type-java="int" name="gewicht" enable="true"/>
    </fields>
    <constructors>
        <constructor access="public" enable="true">
            <javadoc xml:space="preserve"/>
            <params>
                <param type="String" type-java="String" name="name"/>
                <param type="int" type-java="int" name="gewicht"/>
                <param type="String" type-java="String" name="hintergrundbilddateiname"/>
            </params>
            <throws/>
            <body>
                <assign dest="this.name" dest-java="this.name" src="name" src-java="name" enable="true"/>
                <assign dest="this.gewicht" dest-java="this.gewicht" src="gewicht" src-java="gewicht" enable="true"/>
                <call expression="this.setImage(hintergrundbilddateiname)" expression-java="this.setImage(hintergrundbilddateiname)" enable="true"/>
            </body>
        </constructor>
    </constructors>
    <methods>
        <method access="public" type="void" type-java="void" name="act" enable="true">
            <javadoc xml:space="preserve">Act - tut, was auch immer Frucht tun will. Diese Methode wird aufgerufen, sobald der 'Act' oder 'Run' Button in der Umgebung angeklickt werden.</javadoc>
            <params/>
            <throws/>
            <body/>
        </method>
        <method access="public" type="String" type-java="String" name="getName" enable="true">
            <javadoc xml:space="preserve"/>
            <params/>
            <throws/>
            <body>
                <return value="this.name" value-java="this.name" enable="true"/>
            </body>
        </method>
        <method access="public" type="int" type-java="int" name="getGewicht" enable="true">
            <javadoc xml:space="preserve"/>
            <params/>
            <throws/>
            <body>
                <return value="this.gewicht" value-java="this.gewicht" enable="true"/>
            </body>
        </method>
    </methods>
</class>
