public void Start() { writer.PrintOnNewLine(MenuMessages.mainMenu); string input = reader.ReadNewLine(); gamePoint = gamePointFactory.CreateGamePoint(input); gamePoint.Run(); }
public GameInputValue(Boolean isWithinBounds, Boolean hasChanged, InputChangeType changeType, GameTimeSpan timeSinceDown, InputType type, IGamePoint position, KeyValue keyValue) { IsWithinBounds = isWithinBounds; HasChanged = hasChanged; ChangeType = changeType; TimeSinceDown = timeSinceDown; Type = type; Position = position; KeyValue = keyValue; }
public Entity MakeScrolling(IGamePoint position) { Position = position; IsScrolling = true; return this; }
// Make Behavior public Entity MakeScrollable(IScrolling target, Double ratio, IGamePoint position) { Target = target; Ratio = ratio; Position = position; IsScrollable = true; return this; }
public Entity MakePlaceable(IGameSize size, IGamePoint anchor, IGamePoint position) { Size = size; Anchor = anchor; Position = position; IsPlaceable = true; return this; }