Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22277

Converting Text File To Rectangles

X-Received by 10.224.110.68 with SMTP id m4mr10275608qap.2.1360633870210; Mon, 11 Feb 2013 17:51:10 -0800 (PST)
X-Received by 10.49.15.6 with SMTP id t6mr1138450qec.20.1360633870150; Mon, 11 Feb 2013 17:51:10 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no10991636qai.0!news-out.google.com!k2ni24985qap.0!nntp.google.com!p13no9762539qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Mon, 11 Feb 2013 17:51:10 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=75.97.25.17; posting-account=YtzuAAoAAACAyZpxQ9ou0Xpv9DQgWSRa
NNTP-Posting-Host 75.97.25.17
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <7f49c487-f016-43a3-83a4-feebe072f76c@googlegroups.com> (permalink)
Subject Converting Text File To Rectangles
From Scyth3 <zfollette@gmail.com>
Injection-Date Tue, 12 Feb 2013 01:51:10 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:22277

Show key headers only | View raw


I have a save and load method for certain rectangles I need for a game. Say the user wants to save a map. The outputted map would look like this:


50 250 50 50
50 350 50 50
50 400 50 50
50 500 50 50
150 300 50 50
200 450 50 50
200 500 50 50
250 150 50 50
300 100 50 50
400 50 50 50
450 150 50 50
550 100 50 50

X Y Width Height

Now, how would I read this, and turn it into a rectangle?

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Converting Text File To Rectangles Scyth3 <zfollette@gmail.com> - 2013-02-11 17:51 -0800
  Re: Converting Text File To Rectangles Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-11 21:02 -0500
    Re: Converting Text File To Rectangles Gene Wirchenko <genew@telus.net> - 2013-02-13 09:06 -0800
      Re: Converting Text File To Rectangles Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-13 13:25 -0500
        Re: Converting Text File To Rectangles "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-02-15 15:25 +0000
          Re: Converting Text File To Rectangles "John B. Matthews" <nospam@nospam.invalid> - 2013-02-16 13:37 -0500
            [OT] Re: Converting Text File To Rectangles Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-16 15:16 -0500
              Re: [OT] Re: Converting Text File To Rectangles "John B. Matthews" <nospam@nospam.invalid> - 2013-02-17 14:16 -0500
        Re: Converting Text File To Rectangles Gene Wirchenko <genew@telus.net> - 2013-02-15 13:09 -0800
  Re: Converting Text File To Rectangles Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-12 04:47 -0400
    Re: Converting Text File To Rectangles lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-12 12:14 +0000
  Re: Converting Text File To Rectangles lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-12 09:47 +0000
    Re: Converting Text File To Rectangles lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-12 09:50 +0000
    Re: Converting Text File To Rectangles Roedy Green <see_website@mindprod.com.invalid> - 2013-02-12 18:23 -0800
  Re: Converting Text File To Rectangles Roedy Green <see_website@mindprod.com.invalid> - 2013-02-12 11:41 -0800

csiph-web