You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
513 B
22 lines
513 B
namespace w230415_classes
|
|
{
|
|
public class CinemaHall : Hall
|
|
{
|
|
public CinemaHall()
|
|
{
|
|
int iW = 10;
|
|
int iH = 3;
|
|
for (int iX = 0; iX < iW; iX++)
|
|
{
|
|
for (int iY = 0; iY < iH; iY++)
|
|
{
|
|
HallPlaceList.Add(new HallPlace()
|
|
{
|
|
SeatPosition = iX,
|
|
SeatRow = iY
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|