Jim is developing software for automating the slot booking process for a video game parlor.Customers fill the Booking Request form with the details of the game ,such as the name,number of players,and complexity level .They hand over the form to the b
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 05:56:22
Jim is developing software for automating the slot booking process for a video game parlor.Customers fill the Booking Request form with the details of the game ,such as the name,number of players,and complexity level .They hand over the form to the b
Jim is developing software for automating the slot booking process for a video game parlor.Customers fill the Booking Request form with the details of the game ,such as the name,number of players,and complexity level .They hand over the form to the booking officer at the parlor.Depending on the availability; the booking officer reserves the time slots and the play station for customers.
Identify the involved classes and objects ,and their attributes.Wrtie methods in the class to accept the game details and store the values in a variable.
Jim is developing software for automating the slot booking process for a video game parlor.Customers fill the Booking Request form with the details of the game ,such as the name,number of players,and complexity level .They hand over the form to the b
public class GameInfo{
public string Name;
public int numberOfPlayers;
public int complexityLevel;
}
public class GameInfoProvider{
GameInfo _gi;
DateTime _timeSlots;
public void Reserve(GameInfo gi,DateTime timeSlots){
_gi = gi;
_timeSlots = timeSlots;
}