comparison api/Delegates.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 using System;
2 using System.Collections.Generic;
3 using IBBoard.WarFoundry.API.Objects;
4
5 namespace IBBoard.WarFoundry.API
6 {
7 public delegate void ObjectChangedDelegate(WarFoundryObject oldValue, WarFoundryObject newValue);
8 public delegate void ArmyChangedDelegate(Army oldValue, Army newValue);
9 public delegate void GameSystemChangedDelegate(GameSystem oldValue, GameSystem newValue);
10 public delegate void ObjectAddDelegate(WarFoundryObject val);
11 public delegate void ObjectRemoveDelegate(WarFoundryObject val);
12 public delegate void UnitAddDelegate(Unit val);
13 public delegate void UnitRemoveDelegate(Unit val);
14 public delegate void ObjectUpdatedDelegate(WarFoundryObject val, string updatedValName);
15 public delegate void DoubleValChangedDelegate(WarFoundryObject obj, double oldValue, double newValue);
16 public delegate void FloatValChangedDelegate(WarFoundryObject obj, float oldValue, float newValue);
17 public delegate void StringValChangedDelegate(WarFoundryObject obj, string oldValue, string newValue);
18 public delegate void IntValChangedDelegate(WarFoundryObject obj, int oldValue, int newValue);
19 }