StartTop.emam 402 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
package de.rwth.pacman.heithoff2.BFS;

component StartTop{
    ports
        in Z(-1m: 19m) pacManX,
        in Z(0m: 22m) pacManY,
        out Z(-1m: 19m) startX,
        out Z(0m: 22m) startY,
        out Z startD;
        
    implementation Math {
        startX = round(pacManX);
        startY = round(pacManY - 0.51);
        startD = 0;
    }
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
17
}