2-APL UPC project.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

added updatepoints 2

fdesan 54d8d202 186c2b0a

+3 -3
+3 -3
code/2apl_platform/environments/cardtable/Env.java
··· 177 177 return wrapBoolean(true); 178 178 } 179 179 180 - public Term updatePoints(String sAgent, APLNum points) throws ExternalActionFailedException { 181 - Agent agent = getAgent(sAgent); 182 - table.updateBid(agent.getName(), agent._position, points.toInt()); 180 + public Term updatePoints(String sAgent, APLIdent player_name, APLNum points) throws ExternalActionFailedException { 181 + Agent agent = getAgent(player_name.toString()); 182 + table.updatePoints(agent.getName(), agent._position, points.toInt()); 183 183 return wrapBoolean(true); 184 184 } 185 185