Package sig.engine

Class Sprite

  • Direct Known Subclasses:
    AnimatedSprite

    public class Sprite
    extends java.lang.Object
    • Field Detail

      • SPRITES_FOLDER

        public static final java.io.File SPRITES_FOLDER
      • PROFONT

        public static final Sprite PROFONT
      • PROFONT_36

        public static final Sprite PROFONT_36
    • Constructor Detail

      • Sprite

        public Sprite​(java.lang.String filename)
    • Method Detail

      • getImg

        public java.awt.image.BufferedImage getImg()
      • setImg

        public void setImg​(java.awt.image.BufferedImage img)
      • getHeight

        public int getHeight()
      • getCanvasHeight

        public int getCanvasHeight()
      • setHeight

        public void setHeight​(int height)
      • getWidth

        public int getWidth()
      • getCanvasWidth

        public int getCanvasWidth()
      • setWidth

        public void setWidth​(int width)