/*
 * Copyright 2011 JBoss Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.drools.fluent;

import org.drools.command.Command;
import org.drools.fluent.CommandScript;
import org.drools.simulation.Simulation;

public interface InternalSimulation extends Simulation, CommandScript {

    void addCommand(Command cmd);
    
    void newStep(long distance);

}

@@ -1,11 +1,10 @@
 /*
-%0D
 %0A * Copy
@@ -23,21 +23,19 @@
 Boss Inc
-%0D
 %0A *
-%0D
 %0A * Lice
@@ -93,17 +93,16 @@
 cense%22);
-%0D
 %0A * you 
@@ -161,17 +161,16 @@
 License.
-%0D
 %0A * You 
@@ -204,21 +204,19 @@
 cense at
-%0D
 %0A *
-%0D
 %0A *     
@@ -262,13 +262,11 @@
 -2.0
-%0D
 %0A *
-%0D
 %0A * 
@@ -332,17 +332,16 @@
 software
-%0D
 %0A * dist
@@ -401,17 +401,16 @@
 %22 BASIS,
-%0D
 %0A * WITH
@@ -477,17 +477,16 @@
 implied.
-%0D
 %0A * See 
@@ -548,17 +548,16 @@
 ions and
-%0D
 %0A * limi
@@ -586,16 +586,13 @@
 nse.
-%0D
 %0A */
-%0D%0A%0D
+%0A
 %0Apac
@@ -614,19 +614,17 @@
 .fluent;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -650,17 +650,16 @@
 Command;
-%0D
 %0Aimport 
@@ -690,17 +690,16 @@
 dScript;
-%0D
 %0Aimport 
@@ -731,19 +731,17 @@
 ulation;
-%0D%0A%0D
+%0A
 %0Apublic 
@@ -804,19 +804,17 @@
 Script %7B
-%0D%0A%0D
+%0A
 %0A    voi
@@ -843,15 +843,9 @@
 md);
-%0D%0A    %0D
+%0A
 %0A   
@@ -853,16 +853,24 @@
 void new
+Internal
 Step(lon
@@ -885,11 +885,8 @@
 ce);
-%0D%0A%0D
+%0A
 %0A%7D
-%0D
 %0A

add newStep to SimulationFluent