File Tier2/SimMud/SimMud.ned

Contains:

simple SimMud
    parameters:
        debugOutput: bool, // if debug output should be enabled
        playerTimeout: numeric, // time for checking for dead nodes
        areaDimension: numeric, // size of the play filed
        AOIWidth : numeric,     // size of the area of interest
        maxMoveDelay : numeric, // time after which a move message is considered to be too late
        numSubspaces: numeric; // number of subspaces per direction
    gates:
        in: from_udp, from_lowerTier, from_upperTier, direct_in;
        out: to_udp, to_lowerTier, to_upperTier;
endsimple

module SimMudModules
    gates:
        in: from_udp, from_lowerTier, from_upperTier;
        out: to_udp, to_lowerTier, to_upperTier;

    submodules:
        simMud: SimMud;
    
    connections nocheck:
        from_lowerTier --> simMud.from_lowerTier;
        to_lowerTier <-- simMud.to_lowerTier;
        from_upperTier --> simMud.from_upperTier;
        to_upperTier <-- simMud.to_upperTier;
        from_udp --> simMud.from_udp;
        to_udp <-- simMud.to_udp;

endmodule