Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skapa ett spelar-objekt #1

Open
redhog opened this issue Apr 18, 2017 · 0 comments
Open

Skapa ett spelar-objekt #1

redhog opened this issue Apr 18, 2017 · 0 comments
Assignees

Comments

@redhog
Copy link
Member

redhog commented Apr 18, 2017

Skapa ett nytt spelar-objekt här:

https://github.com/Programmeringskursen/pytonhalan_pauline/blob/master/karta1.py#L4

Överst i filen skriver du:

import spelare

och inuti init skriver du tex.

self.hero = spelare.Hero(raw_input("What is your name? ", 5, 5, 20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants