コード例 #1
0
        public _Sprite(_SpriteAtlas atlas, string name, int x, int y, int width, int height, Point grid)
        {
            Atlas = atlas;
            Name  = name;

            X = x;
            Y = y;

            Width  = width;
            Height = height;

            Grid = grid;
        }
コード例 #2
0
 public _Sprite(_SpriteAtlas atlas, string name, int x, int y, int width, int height) : this(atlas, name, x, y, width, height, new Point(1))
 {
 }