基于MVC编程模式下俄罗斯方块的开发
程序员文章站
2024-02-26 09:13:13
...
方块像素
70像素一米
不一样为了有间隔
技巧 自动排列UI
1.开始四个UI
2.创建七个基本图形(pivot 轴心)
3.导入有限状态机和分析游戏状态
写成虚方法
public virtual void Reason() { }
/// <summary>
/// This method controls the behavior of the NPC in the game World.
/// Every action, movement or communication the NPC does should be placed here
/// NPC is a reference to the object that is controlled by this class
/// </summary>
public virtual void Act() { }