Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- public class Order
- {
- static public var _orderData:Object = {};
- static private var _count:int = 0;
- public function Order()
- {
- }
- static public function setCount():void
- {
- _count = 0;
- for (var str:String in _orderData)
- {
- _count += _orderData[str].count;
- }
- ScreenPics.setInfo(_count);
- ScreenOrder.setInfo(_count);
- }
- static private function countFormat(num:int):int
- {
- return Math.max(0, num);
- }
- static public function get __count():int
- {
- return _count;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement