/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package src.controller;

import src.model.MapAvatar_Relation;
import src.view.Display;
import src.view.AvatarCreationView;

/**
 * Each avatar represents a player
 *
 *
 * @author JohnReedLOL
 */
public final class Avatar extends Entity {

    // Converts the class name into a base 35 number
    private static final long serialVersionUID = Long.parseLong("Avatar", 35);

    // map_relationship_ is used in place of a map_referance_
    private final MapAvatar_Relation map_relationship_;
    
    /**
     * Use this to call functions contained within the MapAvatar relationship
     * @return map_relationship_
     * @author Reed, John
     */
    @Override
    public MapAvatar_Relation getMapRelation() {
        return map_relationship_;
    }

    public Avatar(String name, char representation, int x_respawn_point, int y_respawn_point) {
        super(name, representation, x_respawn_point, y_respawn_point);
        map_relationship_ = new MapAvatar_Relation(this, x_respawn_point, y_respawn_point);
    }

    private final Display display_ = new Display(new AvatarCreationView(this));

    public Display get_my_display() {
        return this.display_;
    }

}

@@ -1352,11 +1352,585 @@
 ;%0A    %7D%0A
+    %0A    @Override%0A    public String toString()%7B%0A    %09String s = %22Avatar name: %22 + name_;%0A    %09%0A    %09if(!(equipped_item_ == null))%0A    %09%09s += %22%5Cn equppied item: %22 + equipped_item_.name_;%0A    %09else%0A    %09%09s += %22%5Cn equppied item: null%22;%0A    %09%0A    %09s+= %22%5Cn Inventory %22 + %22(%22 + inventory_.size() + %22)%22 + %22:%22;%0A    %09for(int i = 0; i %3C inventory_.size(); ++i)%7B%0A    %09%09s+= %22 %22 + inventory_.get(i).name_;%0A    %09%7D%0A    %09%0A    %09s+=%22%5Cn%22;%0A    %09%0A    %09s+=%22 map_relationship_: %22;%0A    %09if(map_relationship_ == null)%0A    %09%09s += %22null%22;%0A    %09else %0A    %09%09s += %22Not null%22 ;%0A    %09%0A    %09return s;%0A    %7D
 %0A%7D%0A

Update Avatar.java