会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小天_y
——May there be enough clouds in your life to make a beautiful sunset.
博客园
首页
新随笔
联系
管理
订阅
2014年12月23日
lua常用操作
摘要: 1 .Lua生成随机数: Lua 生成随机数需要用到两个函数:math.randomseed(xx), math.random([n [, m]]) 1. math.randomseed(n) 接收一个整数 n 作为随机序列种子。2. math.random([n [, m]]) 有三种用法: 无参
阅读全文
posted @ 2014-12-23 17:38 小天_y
阅读(2508)
评论(0)
推荐(0)
编辑
公告