m*****s 发帖数: 19 | 1 来自主题: JobHunting版 - 急问一个题 请问如下设计有什么不好?
怎么改进?
Class GameState{
GameState::AddPlayer(player *p){
players.push_back(p)
}
GameState::getPlayer(){
return plaers.begin();
}
GameState::getPlayerEnd(){
return plaers.end();
}
private:
std::vector players;
};
void Game::PlayerMove(GameState & gs){
std::vecotr::iterator playerIt;
for (playerIt = gs.getPlayer(); playerIt != gs.getPlayerEnd(); ++playerIt
){
(*playerIt)->Move();
}
} |
|
z*********n 发帖数: 94654 | 2 拥有同样多功能的blu ray plaer也LG BD390了,和ps3一个价,呵呵 |
|
m**k 发帖数: 18660 | 3 我刚买了bluray plaer..hiahia.. |
|
x*******1 发帖数: 28835 | 4 lebron's teammates are all bosh, wade, a jiao and etc. nbdl/cba players
jordan has pippen
kobe has great teammates. paul gasol, O fat, andew, all hall of fame plaer.
they are really galaxy battle ship!
lebron makes poor teammates and coaches good. Jordan makes good coach great.
and kobe makes great players and coaches poor.
ni zhi dao de! |
|
f*****x 发帖数: 545 | 5 Many top plaers, like Mike Lawrence and Marshall Miles, recommend to use
4-card major opening and overcall. Wonder if any guy here adopt this method
and what do you think of this method. Marshall Miles even said you should
overcall 1S with:
S: AJ85
H: T
D: A8
C: AQT842 |
|
ET 发帖数: 10701 | 6 seems it's not so impressive as it used to be.
commentators said he swings the club with 120mph now, the same as most tour
plaers . that's why we see more guys overpassing him now.
he used to swing the clubs with 130mph+ |
|
d**********9 发帖数: 5215 | 7 以居安思危,现在居危思变,good for all those top plaers |
|
x*d 发帖数: 1696 | 8 logic issue: Against "short player doesn't fit single-handed"
is not agaist "tall player doesn't fit double handed"
Tall plaer -> single or double both work.
Tall/Rich/Handsome always hold advantage :) |
|
s****t 发帖数: 17096 | 9 对华人最friendly的tennis plaer就是djok了吧 |
|
h*******y 发帖数: 1227 | 10 hehe, thanks.
am, pm? how much do they charge?
what is the plaers' average skill? |
|