Search found 2 matches

by silverhair
May 13th, 2017, 12:55 pm
Forum: Everything
Topic: if statem
Replies: 3
Views: 1372

Re: if statem

Thank you, I understand now. And I'm sorry I'm new to this, so I don't know what to post.
by silverhair
May 13th, 2017, 11:35 am
Forum: Everything
Topic: if statem
Replies: 3
Views: 1372

if statem

Game::Game( MainWindow& wnd ) : wnd( wnd ), gfx( wnd ) { } void Game::Go() { gfx.BeginFrame(); UpdateModel(); ComposeFrame(); gfx.EndFrame(); } void Game::UpdateModel() { boxType(100, 50); boxType(300, 400); boxType(200, 250); moveIng(); x =x+ vx ; } void Game::ComposeFrame() { gfx.PutPixel(x + 10,...