Skip to content

Instantly share code, notes, and snippets.

@GarethOates
Last active January 27, 2020 18:22
Show Gist options
  • Select an option

  • Save GarethOates/d10de0c41d5d9be4e6ec4e45ce8b29a9 to your computer and use it in GitHub Desktop.

Select an option

Save GarethOates/d10de0c41d5d9be4e6ec4e45ce8b29a9 to your computer and use it in GitHub Desktop.

Revisions

  1. Gareth Oates revised this gist Jan 27, 2020. 1 changed file with 8 additions and 7 deletions.
    15 changes: 8 additions & 7 deletions ICreature.cs
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,11 @@
    namespace MagicTheProgramming
    {
    using System;

    public interface ICreature
    namespace MagicTheProgramming
    {
    public interface ICreature
    {
    int Power {get; set;}
    int Toughness {get; set;}
    string Name {get; set;}
    int Power {get;}
    int Toughness {get;}
    string Name {get;}
    }
    }
    }
  2. Gareth Oates created this gist Jan 27, 2020.
    10 changes: 10 additions & 0 deletions ICreature.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    namespace MagicTheProgramming
    {

    public interface ICreature
    {
    int Power {get; set;}
    int Toughness {get; set;}
    string Name {get; set;}
    }
    }