Feature #197

Add Math class operations to attribute evaluation

Added by colin moock 934 days ago. Updated 779 days ago.

Status :New Start :07/14/2009
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :Attributes
Target version :Future

Description

Add the ability to use Java Math class operations in attribute evaluations. For example:

theRoom.setAttribute("score", "Math.min(%v+10, 100)", true, false, true);
theRoom.setAttribute("numChairs", "Math.floor(Math.random()*10)", true, false, true);

History

09/03/2009 05:58 PM - colin moock

  • Target version changed from Union 1.0 Alpha 4 to Union 1.0 Alpha 5

10/29/2009 11:39 PM - derek clayton

  • Target version changed from Union 1.0 Alpha 5 to Union 1.0 Alpha 6

12/17/2009 01:03 AM - colin moock

  • Target version changed from Union 1.0 Alpha 6 to Future

Also available in: Atom