steplink.as
来自「Flash之五子棋之源代码」· AS 代码 · 共 22 行
AS
22 行
import Step;
class StepLink {
private var step:Step;
public var nextStep:StepLink;
public var preStep:StepLink;
public function StepLink() {
this.step = new Step();
this.nextStep = null;
this.preStep = null;
}
public function get thisStep():Step {
return this.step;
}
public function setStep(m:Number, n:Number, side:Number):Boolean {
this.step.m = m;
this.step.n = n;
this.step.side = side;
this.step.id = ++GoBang.pieceCount;
return true;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?