Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 18:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Anybody knows "Object-oriented programming"?

Discussion on Anybody knows "Object-oriented programming"? within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
[uLow]Beni's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,781
Received Thanks: 618
Anybody knows "Object-oriented programming"?

Hello lovely Metin2-Community!
We are working on a new project and you will be able to add python-scripts to control it.
From the binary it calls functions if something happen, there are two possibilities how i will make it.

First: via a simple call
Code:
def SomethingHappen():
    # do something
    return

WhenSomething(SomethingHappen)
Second: via method overriding
Code:
class AClass(Callbacker):
    def WhenSomething(self):
        # usually call to Callbacker.WhenSomething
        # do something
        return
Which would you like to use?
[uLow]Beni is offline  
Reply


Similar Threads Similar Threads
[New]The Waite Group's Object-Oriented Programming in C++ [AweSome Book][Download]
01/29/2012 - CO2 Programming - 0 Replies
Really that`s Amazing Book i ever Seen in c++:rolleyes: its really amazing book i ever seen it`s pages more than 800 + ;) :handsdown: About Book : Copyright © 1999 by Sams Publishing About the Author: Robert Lafore has been writing books about computer programming since 1982. His best-selling titles include Assembly Language Programming for the IBM PC, C Programming Using Turbo C++, C++ Interactive Course, and Data Structures and Algorithms in Java. Mr. Lafore holds degrees in...



All times are GMT +1. The time now is 18:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.