PointCJ.as 574 B

123456789101112131415161718192021222324252627282930
  1. package com.imt.intimamedia.helpers
  2. {
  3. // Added by Jdeppe march 2012
  4. // CJ suffix because first coder of Scale object (IMT V1) was Christophe Jacquelin
  5. // IMT Paris Opera district
  6. public class PointCJ
  7. {
  8. public var x:int; // Dimension Horizontale
  9. public var y:int; // Dimension Verticale
  10. public function PointCJ():void
  11. {
  12. x = 0;
  13. y = 0;
  14. }
  15. public function PointB(vx:int, vy:int):void
  16. {
  17. x = vx;
  18. y = vy;
  19. }
  20. public function Offset(xOffset:int, yOffset:int):void
  21. {
  22. x += xOffset;
  23. y += yOffset;
  24. }
  25. }
  26. }