Added some birth distance stuff

This commit is contained in:
MaxRobinsonTheGreat
2020-08-04 15:10:13 -06:00
parent ef1d78d755
commit f3fc6813a0
4 changed files with 8 additions and 1 deletions

View File

@@ -32,6 +32,10 @@ class EditorController extends CanvasController{
this.env.removeCellFromOrg(this.mouse_c, this.mouse_r);
}
updateDetails() {
$('#birth-distance').val(this.env.organism.birth_distance);
}
defineCellTypeSelection() {
var self = this;
$('.cell-type').click( function() {