Using RiderVO instead of Dynamic object in RidersList
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user