public void setGoals ( byte [ ] arr ) { if ( arr == null ) { goals = null ; return ; } goals = new byte [ arr . length ] ; System . arraycopy ( arr , 0 , goals , 0 , goals . length ) ; }
Sets the list of goals for this agent .