mirror of
https://github.com/Luigi30/FruitMachine-Swift.git
synced 2024-11-26 21:52:45 +00:00
19 lines
393 B
Swift
19 lines
393 B
Swift
//
|
|
// EmulatedSystem.swift
|
|
// FruitMachine
|
|
//
|
|
// Created by Christopher Rohl on 8/1/17.
|
|
// Copyright © 2017 Christopher Rohl. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
protocol EmulatedSystem {
|
|
var CPU_FREQUENCY: Double { get }
|
|
var FRAMES_PER_SECOND: Double { get }
|
|
var CYCLES_PER_BATCH: Int { get }
|
|
|
|
init(cpuFrequency: Double, fps: Double)
|
|
func installOverrides()
|
|
}
|