File tree Expand file tree Collapse file tree
v3/src/gameobjects/particles/zones Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ var Class = require ( '../../../utils/Class' ) ;
2+ var GetFastValue = require ( '../../../utils/object/GetFastValue' ) ;
3+
4+ var RandomZone = new Class ( {
5+
6+ initialize :
7+
8+ function RandomZone ( source , steps )
9+ {
10+ if ( steps === undefined ) { steps = 1 ; }
11+
12+ this . source = source ;
13+
14+ this . steps = steps ;
15+
16+ this . counter = 0 ;
17+ } ,
18+
19+ getPoint : function ( particle )
20+ {
21+ }
22+
23+ } ) ;
24+
25+ module . exports = RandomZone ;
Original file line number Diff line number Diff line change 1+ var Class = require ( '../../../utils/Class' ) ;
2+
3+ var RandomZone = new Class ( {
4+
5+ initialize :
6+
7+ function RandomZone ( source )
8+ {
9+ this . source = source ;
10+ } ,
11+
12+ getPoint : function ( particle )
13+ {
14+ this . source . getRandomPoint ( particle ) ;
15+ }
16+
17+ } ) ;
18+
19+ module . exports = RandomZone ;
You can’t perform that action at this time.
0 commit comments