Jump to content
×
×
  • Create New...
  • 0

interfacemodule.py


EnKor

Question

  • Premium

Hi there,

 

I have this function in game.py:

def __MakePortring(self, qid):
        constInfo.PortRingqin= int(qid)

 

But how to make that function from this interfacemodule.py?

def testcommand(self):
        self.game.__MakePortring(self, qid)   

i wanna send the same command, but from the function in interfacemodule.py

 

 

FreeHugs to all
 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.