Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Moose class design for game

by wanna_code_perl (Pilgrim)
on Sep 06, 2013 at 09:46 UTC ( #1052681=note: print w/replies, xml ) Need Help??

in reply to Re: Moose class design for game
in thread Moose class design for game

Granted, the server might need to send some values to the display, but it should not matter in the least if the client alters those values

Yes, that's part of what I tried to explain. My apologies if that bit got lost in the ramble. Since it's a client/server architecture, changing object attributes cannot affect the server's copy unless I am dumb enough to add in logic to directly or indirectly propagate those changes in the protocol, which--and you'll have to take my word for this--I'm not. :-)

As you put it, though, how to "send some values to the display" from an OO design standpoint was pretty much my question. To that end, your suggestion of borrowing some wisdom from CPAN is well taken. Thanks!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052681]
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2018-02-25 04:59 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (312 votes). Check out past polls.