This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| self.map_web_view = QWebEngineView(MainWindow) | |
| map_size = (700,480) | |
| self.map_web_view.move((MainWindow.width()//4),MainWindow.height()//4) | |
| self.map_web_view.setMinimumSize(map_size[0],map_size[1]) | |
| self.map_web_view.setObjectName(u"map") | |
| self.map_web_view.load(QUrl().fromLocalFile(os.path.abspath(os.path.join(os.path.dirname(__file__),'geojson.html')))) | |
| self.map_web_view.resize(640, 480) | |
| self.map_web_view.show() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class Controller2D : MonoBehaviour | |
| { | |
| private const float skinWidth = .015f; | |
| private Collider2D collider; | |
| private Collider2D[] colliders; | |
| private LayerMask collisionMaskAir; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.wheelandhandle.space_sheet.model | |
| import androidx.lifecycle.ViewModel | |
| class PlayerViewModel : ViewModel() | |
| { | |
| var resourceData: HashMap<String, Int> = hashMapOf( | |
| "one_p_bar" to 0, | |
| "two_p_bar" to 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.wheelandhandle.space_sheet.view | |
| import android.os.Bundle | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import android.widget.SeekBar | |
| import androidx.fragment.app.Fragment | |
| import androidx.lifecycle.Observer | |
| import androidx.lifecycle.ViewModelProviders |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tkinter as tk | |
| from tkinter import messagebox | |
| from PIL import ImageTk, Image | |
| import os | |
| import pickle | |
| class App(tk.Tk): | |
| resource_types = ["Beryl", "Chromite", "Magnetite", "Pentlandite", "Sphalerite", "Hematite", "Cinnabar", | |
| "Acanthite"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tkinter as tk | |
| resource_types = ["Beryl", "Chromite", "Magnetite", "Pentlandite", "Sphalerite", "Hematite", "Cinnabar", "Acanthite"] | |
| mod_types = ["x", "xx", "xxx"] | |
| resource_sliders = {} | |
| active_resource = "" | |
| class UserView(tk.Frame): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| using UnityEngine.UI; | |
| public class MapGenerator : MonoBehaviour | |
| { |