public void Start()
        {
            writer.PrintOnNewLine(MenuMessages.mainMenu);
            string input = reader.ReadNewLine();

            gamePoint = gamePointFactory.CreateGamePoint(input);
            gamePoint.Run();
        }
Beispiel #2
0
 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;
 }
Beispiel #3
0
        public Entity MakeScrolling(IGamePoint position)
        {
            Position = position;

            IsScrolling = true;
            return this;
        }
Beispiel #4
0
        // Make Behavior
        public Entity MakeScrollable(IScrolling target, Double ratio, IGamePoint position)
        {
            Target = target;
            Ratio = ratio;
            Position = position;

            IsScrollable = true;
            return this;
        }
Beispiel #5
0
        public Entity MakePlaceable(IGameSize size, IGamePoint anchor, IGamePoint position)
        {
            Size = size;
            Anchor = anchor;
            Position = position;

            IsPlaceable = true;
            return this;
        }