标签:oid log this style set speed 数据 code 数组
const int SPEED_COUNT = 10; void setSpeed(float speed) { for(int i = SPEED_COUNT - 1;i>0;i--) { this.mSpeed[i] = this.mSpeed[i - 1]; } this.mSpeed[0] = speed; }
标签:oid log this style set speed 数据 code 数组
原文地址:http://www.cnblogs.com/kkkky/p/6524362.html