mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
git: Rename some directory.
This commit is contained in:
1 parent
b8dd88f4fd
commit
d418b57fa0
138 files changed
+40
-41
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
class Point(object):
|
||||
def __init__(self, x:float, y:float):
|
||||
super(Point, self).__init__()
|
||||
|
||||
self.x = x
|
||||
self.y = y
|
||||
|
||||
def __repr__(self):
|
||||
return f"({self.x}, {self.y})"
|
||||
|
||||
def set_pos(self, x, y):
|
||||
self.x = x
|
||||
self.y = y
|
||||
Reference in new issue
Block a user