Closed raedaf closed 7 years ago
The name of the enum Type must have been conflicting with some other entity named Type. Moved the enum to its own file and changed the name to RuleFactType and the project now runs. Thanks.
thank you very much I have another question how I can change gold, pit and wumpus position and create its position randomly
I run this code but I have error on Rule r1 = new Rule( f1, f2, null, null, null, Connector.Conjunction, Type.Facts ); Rule r2 = new Rule( f3, f4, null, null, null, Connector.Conjunction, Type.Facts ); Rule r3 = new Rule( f5, f6, null, null, null, Connector.Conjunction, Type.Facts ); Rule r4 = new Rule( f7, f8, null, null, null, Connector.Conjunction, Type.Facts );
Type.Facts doesn't identified any advice regarding this plz