summaryrefslogtreecommitdiff
path: root/Entelect.BattleCity.Challenge/Move.cs
blob: 7fba66492b22004d551d61e738dc57d02dde983f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entelect.BattleCity.Challenge
{
    class Move
    {
        public int Tank { get; private set; }
        public ChallengeService.action Action { get; private set; }

        public Move(int tank, ChallengeService.action action)
        {
            Tank = tank;
            Action = action;
        }

        public override string ToString()
        {
            return string.Format("Tank {0}: {1}", Tank, Action.ToString());
        }
    }
}