Exemple #1
0
 public ImageBox(Vector2 pPosition, Rectangle pSize)
     : base(pPosition, pSize)
 {
     mCollisionBox         = pSize;
     SelectRectangleObject = new SelectRectangle(Position, new Rectangle(0, 0, Thumbnail.THUMBNAIL_WIDTH, Thumbnail.THUMBNAIL_HEIGHT));
     SortEntitesOnScreen(Vector2.Zero);
     SelectRectangleObject.IsSelected = false;
 }
 public static void Initialize()
 {
     SelectEntityRectangle = new Interface.SelectRectangle(Vector2.Zero, Rectangle.Empty);
 }