hello there guys I have attached a picture of the error that I've been receiving in coding my tetris program, anyone here who knows how to fix this? please help me thanks in advance.
king03 0
Junior Poster in Training
Recommended Answers
Jump to PostDo a solution wide text search for "class Square" to find where the duplicate is being defined.
Jump to PostSquare is defined again inside of another .cs file and needs to be renamed. Although, if you're writing this with XNA you should really switch your project type over to Windows Game type.
@Momerath: When designing games it's good practice to create your own objects, plus the Rectangle class inside …
All 8 Replies
thines01 401
Postaholic Team Colleague Featured Poster
skatamatic 371
Practically a Posting Shark
king03
commented:
sir how do I do that? +2
Momerath 1,327
Nearly a Senior Poster Featured Poster
lxXTaCoXxl 26
Posting Whiz in Training
skatamatic 371
Practically a Posting Shark
lxXTaCoXxl 26
Posting Whiz in Training
Momerath 1,327
Nearly a Senior Poster Featured Poster
lxXTaCoXxl 26
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.