lab/lab15/creatures/Clorus.java
public Clorus replicate() {
        this.energy *= 0.5;
        Clorus replica = new Clorus(this.energy);
        return replica;
    }
/**
     *  When a Clorus replicates, it keeps 50% of its energy.
     *  The other 50% goes to its offspring.
     *  No energy is lost in the replication process.
     */
When a Clorus replicates, it keeps 50% of its energy.
The other 50% goes to its offspring.
No energy is lost in the replication process.
When a Clorus replicates it keeps 50% of its energy . The other 50% goes to its offspring . No energy is lost in the replication process .
public Clorus replicate() {
        this.energy *= 0.5;
        Clorus replica = new Clorus(this.energy);
        return replica;
    }
public Clorus replicate ( ) { this . energy *= 0.5 ; Clorus replica = new Clorus ( this . energy ) ; return replica ; }
When a Clorus replicates, it keeps 50% of its energy.
When a Clorus replicates it keeps 50% of its energy .