Using RiderVO instead of Dynamic object in RidersList

This commit is contained in:
2025-11-26 13:34:31 +01:00
parent 6f62c3ad53
commit aa2ba5c90d
3 changed files with 35 additions and 12 deletions
+5
View File
@@ -1,5 +1,6 @@
package model;
import view.RidersList;
import vo.RiderVO;
import feathers.data.ArrayCollection;
import openfl.errors.Error;
@@ -85,4 +86,8 @@ class AppModelLocator extends EventDispatcher implements IModelLocator {
return model;
}
public function addRider(pRider:RiderVO) {
ridersListDP.add(pRider);
}
}