Jim is developing software for automating the slot booking p

问题描述:

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.
1个回答 分类:英语 2014-12-15

问题解答:

我来补答
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;
}
 
 
展开全文阅读
剩余:2000