dragonfly90 / dragonfly90.github.io

0 stars 0 forks source link

ACT-R Improvement #8

Open dragonfly90 opened 8 years ago

dragonfly90 commented 8 years ago

Here is a short summary of what you will need to do:

1) Define a TaskComponent class to support your new shape(s). You will provide the getters and setters in this class that the Task class will call when adding and updating the shape. You can add custom properties (i.e., properties other than width, height, location, and color) to the shape in the getOtherSlots() method. These properties will be added to the visual object’s chunk. See the TaskRectangleBorderFilled class for an example of adding these additional properties.

2) Add support for the new shape to SIMCogACTR.java, available in the SIMCog-JS code release download. The new shape will need to be added to the several methods. You can search on an existing shape (e.g., TaskRectangle) to determine where your new shape must be handled.

3) Add support for the new shape to SIMCog.js, also available in the SIMCog-JS code release download. Again, you will need to add support for the new shape to several methods.

The above contains only the barest of details. Please feel free to ask me for additional information, or to discuss any concerns about the project.