| OLD | NEW |
| 1 part of sprites; | 1 part of sprites; |
| 2 | 2 |
| 3 double convertDegrees2Radians(double degrees) => degrees * Math.PI/180.8; | 3 double convertDegrees2Radians(double degrees) => degrees * Math.PI/180.8; |
| 4 | 4 |
| 5 double convertRadians2Degrees(double radians) => radians * 180.0/Math.PI; | 5 double convertRadians2Degrees(double radians) => radians * 180.0/Math.PI; |
| 6 | 6 |
| 7 /// A base class for all objects that can be added to the sprite node tree and r
endered to screen using [SpriteBox] and | 7 /// A base class for all objects that can be added to the sprite node tree and r
endered to screen using [SpriteBox] and |
| 8 /// [SpriteWidget]. | 8 /// [SpriteWidget]. |
| 9 /// | 9 /// |
| 10 /// The [Node] class itself doesn't render any content, but provides the basic f
unctions of any type of node, such as | 10 /// The [Node] class itself doesn't render any content, but provides the basic f
unctions of any type of node, such as |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 /// else if (event.type == 'pointerup') { | 521 /// else if (event.type == 'pointerup') { |
| 522 /// opacity = 1.0; | 522 /// opacity = 1.0; |
| 523 /// } | 523 /// } |
| 524 /// return true; | 524 /// return true; |
| 525 /// } | 525 /// } |
| 526 /// } | 526 /// } |
| 527 bool handleEvent(SpriteBoxEvent event) { | 527 bool handleEvent(SpriteBoxEvent event) { |
| 528 return false; | 528 return false; |
| 529 } | 529 } |
| 530 } | 530 } |
| OLD | NEW |