from configparser import ConfigParser
from json import load, dumps
from ya2.gameobject import GameObject
-from ya2.lib.builder import LibP3d
+from ya2.lib.p3d.p3d import LibP3d
class DctFile(GameObject):
from panda3d.core import GraphicsWindow, WindowProperties
-from ya2.lib.gui import Img
+from ya2.lib.p3d.gui import P3dImg as Img
from ya2.gameobject import GameObject
from panda3d.core import Filename, GraphicsWindow, PandaSystem
from panda3d.bullet import get_bullet_version
from ya2.gameobject import Colleague
-from ya2.lib.builder import LibP3d
+from ya2.lib.p3d.p3d import LibP3d
import sys
+++ /dev/null
-from ya2.lib.p3d.p3d import LibP3d
-
-
-# class LibBuilder:
-# '''This classe builds the implementation of the library abstraction (for
-# the Dependency Inversion Principle).'''
-
-# @staticmethod
-# def build():
-# '''This method actually builds the library implementation.
-# Now it builds Panda3D's implementation layer, but it may be used as a
-# dispatcher (e.g. for new Panda3D versions).'''
-# return LibP3d()
+++ /dev/null
-# '''This module binds abstract GUI classes and actual implementation classes
-# (for the Dependency Inversion Principle).'''
-from ya2.lib.p3d.gui import P3dImg # , P3dBtn, P3dSlider, P3dCheckBtn, \
-# P3dOptionMenu, P3dEntry, P3dLabel, P3dTxt, P3dFrame, P3dScrolledFrame
-
-
-Img = P3dImg
-# Btn = P3dBtn
-# Slider = P3dSlider
-# CheckBtn = P3dCheckBtn
-# OptionMenu = P3dOptionMenu
-# Entry = P3dEntry
-# Label = P3dLabel
-# Text = P3dTxt
-# Frame = P3dFrame
-# ScrolledFrame = P3dScrolledFrame