ObstacleSelector.emam 388 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
1
/* (c) https://github.com/MontiCore/monticore */
Jean-Marc Ronck's avatar
Jean-Marc Ronck committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package de.rwth.supermario.haller.environment;


component ObstacleSelector {
    ports
        in Z^{5,2} nextObstaclePositions,
        in Z index,
        
        out Z x,
        out Z y;

    implementation Math {
        
        x = nextObstaclePositions(index,1);
        y = nextObstaclePositions(index,2);
        
    }
    
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
20
}