Click here to Skip to main content
15,892,746 members
Articles / Desktop Programming / XAML

Soccerlight World Cup 2010

Rate me:
Please Sign up or sign in to vote.
4.96/5 (78 votes)
11 Jul 2010CPOL9 min read 132.7K   2.7K   99  
A soccer game made with Silverlight and VS 2008.
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Soccerlight.Core.Model
{
    public class TeamPlayer
    {
        //public TeamPlayer(string teamID, int number, int id, string name, string birthDate, string position, string currentTeam, double height)
        public TeamPlayer(string teamID, int number, int id, string name)
        {
            TeamID = teamID;
            Number = number;
            ID = id;
            Name = name;
            //BirthDate = DateTime.Today;// birthDate;
            //Position = position;
            //CurrentTeam = currentTeam;
            //Height = height;
        }
        public string TeamID { get; set; }
        public int Number { get; set; }
        public int ID { get; set; }
        public string Name { get; set; }
        public DateTime BirthDate { get; set; }
        public string Position { get; set; }
        public string CurrentTeam { get; set; }
        public double Height { get; set; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Instructor / Trainer Alura Cursos Online
Brazil Brazil

Comments and Discussions