Exemplo n.º 1
0
 public void Draw()
 {
     if (WithinCamera(_cameraPos))
     {
         GSS.SpriteBatch.Draw(_texture,
                              DrawHelp.GetBoundary(_cameraPos, _position, _size),
                              null, Color.White, _rotationAngle, _origin, SpriteEffects.None, 0);
     }
     Debug();
 }
Exemplo n.º 2
0
 public Rectangle getShape(Vector2 cameraPos)
 {
     return(DrawHelp.getShape(cameraPos, Position, Size));
 }
Exemplo n.º 3
0
 public Rectangle GetShape(Vector2 cameraPos)
 {
     return(DrawHelp.GetBoundary(cameraPos, Position, Size));
 }