Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict'
- var Player = function()
- {
- this.name = "";
- };
- Player.prototype.getName = function()
- {
- return this.name;
- };
- Player.prototype.setName = function(_name)
- {
- this.name = _name;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement