Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Microsoft.Xna.Framework;
- using Microsoft.Xna.Framework.Graphics;
- using Microsoft.Xna.Framework.Input;
- namespace PierwszeNieoceniane2
- {
- class gameRectangle
- {
- public Texture2D texture2D { get; set; }
- public Rectangle destinationRectangle { get; set; }
- public Rectangle sourceRectangle { get; set; }
- public Color color { get; set; }
- //public
- public gameRectangle(Texture2D texture2D, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color)
- {
- this.texture2D = texture2D;
- this.destinationRectangle = destinationRectangle;
- this.sourceRectangle = sourceRectangle;
- this.color = color;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement