ttransition.cpp

来自「This is realization of the Petri Network」· C++ 代码 · 共 29 行

CPP
29
字号
//---------------------------------------------------------------------------


#pragma hdrstop

#include "TTransition.h"
#include <math.h>

//---------------------------------------------------------------------------

#pragma package(smart_init)

//觐耱痼牝铕
TTransition::TTransition(int x, int y, TList *list)
{
    this->x = x;
    this->y = y;

    width = 16;
    height = 40;

    this->list = list;
    
    inEdges = new TList();
    outEdges = new TList();

    isEdgesHolder = true;
}
// 镱潢膻麇

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?