added property to access PlayerResource object with user provided amount