~ubuntu-branches/ubuntu/wily/monodevelop/wily

« back to all changes in this revision

Viewing changes to external/monomac/samples/VillainTracker/Villain.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-05-27 18:08:20 UTC
  • mfrom: (19.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20120527180820-fydl21qnbnfr8w2t
Tags: 3.0.2+dfsg-3
* [fcecfe7] Fix monodevelop-core-addins.pc.in to point to actual 
  installed location of assemblies.
* [26e1a07] DebSrc 3.0 does not support Quilt's -p parameter, so 
  manually adjust the path in the patch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;
 
3
using MonoMac.AppKit;
 
4
 
 
5
namespace VillainTracker
 
6
{
 
7
        /// <summary>
 
8
        /// Keeps villain data
 
9
        /// </summary>
 
10
        public class Villain
 
11
        {
 
12
                public string Name { get; set; }
 
13
                public string LastKnownLocation { get; set; }
 
14
                public DateTime LastSeenDate { get; set; }
 
15
                public string SwornEnemy { get; set; }
 
16
                public string PrimaryMotivation { get; set; }
 
17
                public IList<string> Powers { get; set; }
 
18
                public string PowerSource { get; set; }
 
19
                public int Evilness { get; set; }
 
20
                public NSImage Mugshot { get; set; }
 
21
                public string Notes { get; set; }
 
22
 
 
23
                public Villain ()
 
24
                {
 
25
                        Name = "";
 
26
                        LastKnownLocation = "";
 
27
                        LastSeenDate = DateTime.Now;
 
28
                        SwornEnemy = "";
 
29
                        PrimaryMotivation = "";
 
30
                        Powers = new[] { "" };
 
31
                        PowerSource = "";
 
32
                        Evilness = 0;
 
33
                        Mugshot = NSImage.ImageNamed ("NSUser");
 
34
                        Notes = "";
 
35
                }
 
36
        }
 
37
}
 
38