comparison api/Requirements/AbstractRequirement.cs @ 0:520818033bb6

Initial commit of WarFoundry code
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 15:57:51 +0000
parents
children 306558904c2a
comparison
equal deleted inserted replaced
-1:000000000000 0:520818033bb6
1 // AbstractRequirement.cs
2 //
3 // Copyright (C) 2008 IBBoard
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License version 2.1 of the License as published by the Free
8 // Software Foundation.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 //
19 //
20
21 using System;
22 using IBBoard.WarFoundry.API.Objects;
23
24 namespace IBBoard.WarFoundry.API.Requirements
25 {
26 /// <summary>
27 /// The base class for Requirements. Specific types of abstract requirement should extend this class.
28 /// </summary>
29 public abstract class AbstractRequirement
30 {
31 public abstract string Description { get; }
32 public abstract AbstractFailedRequirement CanAddToWarFoundryObject(WarFoundryObject obj);
33 public abstract AbstractFailedRequirement CanRemoveFromWarFoundryObject(WarFoundryObject obj);
34 }
35 }