From: "Sebastjan H." Date: 2012-10-03T04:07:05+09:00 Subject: Re: still learning by doing - connecting rooms in a game thank you for this explanation. > >> What I meant was, that if omit the attr_accessor completely and only >> have methods for instance variables defined, then >> >> player.hp -=20 does nothing. > > You should actually get an error saying that player doesn't have a "hp=" > method. actually, I did get that error:) -- Posted via http://www.ruby-forum.com/.