This commit is contained in:
Joel 2020-05-06 22:02:31 +02:00
parent 3bae81f270
commit e14d4c3602

View File

@ -37,7 +37,7 @@ class House
housePos = new Rectangle((int)pos.X * (tileSize + Spacing), (int)pos.Y * (tileSize + Spacing), tileSize, tileSize); housePos = new Rectangle((int)pos.X * (tileSize + Spacing), (int)pos.Y * (tileSize + Spacing), tileSize, tileSize);
} }
//Returns house Rectangle
public Rectangle GetRectangle() public Rectangle GetRectangle()
{ {
return housePos; return housePos;