mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 04:20:58 +00:00
Skeleton for model classes.
Signed-off-by: RosimInc <rosim_inc@hotmail.com>
This commit is contained in:
parent
511e53372e
commit
7362541eaf
9
Assets/Scripts.meta
Normal file
9
Assets/Scripts.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b68a08cedb68a2d4bb3894a4a0b77d6c
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1439243165
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models.meta
Normal file
9
Assets/Scripts/Models.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 974cc7ed9d5db3943968b47bd0b98e40
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1439243383
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models/Headline.cs
Normal file
9
Assets/Scripts/Models/Headline.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
public class Headline : Post
|
||||||
|
{
|
||||||
|
private Person author;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Headline.cs.meta
Normal file
12
Assets/Scripts/Models/Headline.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4def8d18c7829f44ab0029672366bfbf
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
10
Assets/Scripts/Models/Level.cs
Normal file
10
Assets/Scripts/Models/Level.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Level {
|
||||||
|
private int points;
|
||||||
|
private Person[] peeps;
|
||||||
|
//private Generator gen;
|
||||||
|
private int gameTime;
|
||||||
|
private int globalAwareness;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Level.cs.meta
Normal file
12
Assets/Scripts/Models/Level.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 06380a86daa643d40a6b59e0904bbae8
|
||||||
|
timeCreated: 1439245172
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
10
Assets/Scripts/Models/LevelGenerator.cs
Normal file
10
Assets/Scripts/Models/LevelGenerator.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class LevelGenerator
|
||||||
|
{
|
||||||
|
public Level generateLevel(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/LevelGenerator.cs.meta
Normal file
12
Assets/Scripts/Models/LevelGenerator.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 983b9f108b9177442b67db8b9f1b7d43
|
||||||
|
timeCreated: 1439255246
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models/LinkedList.cs
Normal file
9
Assets/Scripts/Models/LinkedList.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
public class LinkedList
|
||||||
|
{
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/LinkedList.cs.meta
Normal file
12
Assets/Scripts/Models/LinkedList.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5daed73a22f6a4349b8209a1c516f0d5
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
31
Assets/Scripts/Models/Person.cs
Normal file
31
Assets/Scripts/Models/Person.cs
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Person
|
||||||
|
{
|
||||||
|
private string name;
|
||||||
|
private Person[] friendList;
|
||||||
|
private int friendCount; //lazy
|
||||||
|
private int timeBetweenPosts; // f = 1/T;
|
||||||
|
private int connectionTime;
|
||||||
|
private int disconnectionTime;
|
||||||
|
private int awarenessLevel;
|
||||||
|
private bool alive;
|
||||||
|
|
||||||
|
private int happiness;
|
||||||
|
private bool connected;
|
||||||
|
|
||||||
|
//private Node node;
|
||||||
|
|
||||||
|
|
||||||
|
private bool isConnected(int time)
|
||||||
|
{
|
||||||
|
return disconnectionTime > time && time > connectionTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int calculateWeight()
|
||||||
|
{
|
||||||
|
//friendCount * ____ + 1/timeBetweenPosts + }
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Person.cs.meta
Normal file
12
Assets/Scripts/Models/Person.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f10827189ed05554c96ae29b44a637f8
|
||||||
|
timeCreated: 1439243485
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Scripts/Models/Post.cs
Normal file
8
Assets/Scripts/Models/Post.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class Post
|
||||||
|
{
|
||||||
|
private string text;
|
||||||
|
private string title;
|
||||||
|
private string date;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Post.cs.meta
Normal file
12
Assets/Scripts/Models/Post.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ed5835497655c434cabf5fd3ca1133af
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
16
Assets/Scripts/Models/PostGenerator.cs
Normal file
16
Assets/Scripts/Models/PostGenerator.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class PostGenerator
|
||||||
|
{
|
||||||
|
public Status generateStatus(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Headline generateHeadline(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/PostGenerator.cs.meta
Normal file
12
Assets/Scripts/Models/PostGenerator.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9825f72cd78a19c479ac0bf44b75d365
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
6
Assets/Scripts/Models/Status.cs
Normal file
6
Assets/Scripts/Models/Status.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class Status : Post
|
||||||
|
{
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Status.cs.meta
Normal file
12
Assets/Scripts/Models/Status.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 41f61770c29a24a43bfae2dd8020520a
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -3,14 +3,17 @@
|
|||||||
--- !u!129 &1
|
--- !u!129 &1
|
||||||
PlayerSettings:
|
PlayerSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 7
|
serializedVersion: 6
|
||||||
AndroidProfiler: 0
|
AndroidProfiler: 0
|
||||||
defaultScreenOrientation: 4
|
defaultScreenOrientation: 4
|
||||||
targetDevice: 2
|
targetDevice: 2
|
||||||
|
targetGlesGraphics: -1
|
||||||
|
targetIOSGraphics: -1
|
||||||
targetResolution: 0
|
targetResolution: 0
|
||||||
accelerometerFrequency: 60
|
accelerometerFrequency: 60
|
||||||
companyName: DefaultCompany
|
companyName: DefaultCompany
|
||||||
productName: DeathBook
|
productName: DeathBook
|
||||||
|
cloudProjectId:
|
||||||
defaultCursor: {fileID: 0}
|
defaultCursor: {fileID: 0}
|
||||||
cursorHotspot: {x: 0, y: 0}
|
cursorHotspot: {x: 0, y: 0}
|
||||||
m_ShowUnitySplashScreen: 1
|
m_ShowUnitySplashScreen: 1
|
||||||
@ -23,6 +26,7 @@ PlayerSettings:
|
|||||||
m_ActiveColorSpace: 0
|
m_ActiveColorSpace: 0
|
||||||
m_MTRendering: 1
|
m_MTRendering: 1
|
||||||
m_MobileMTRendering: 0
|
m_MobileMTRendering: 0
|
||||||
|
m_UseDX11: 1
|
||||||
m_Stereoscopic3D: 0
|
m_Stereoscopic3D: 0
|
||||||
iosShowActivityIndicatorOnLoading: -1
|
iosShowActivityIndicatorOnLoading: -1
|
||||||
androidShowActivityIndicatorOnLoading: -1
|
androidShowActivityIndicatorOnLoading: -1
|
||||||
@ -77,7 +81,6 @@ PlayerSettings:
|
|||||||
metroEnableIndependentInputSource: 0
|
metroEnableIndependentInputSource: 0
|
||||||
metroEnableLowLatencyPresentationAPI: 0
|
metroEnableLowLatencyPresentationAPI: 0
|
||||||
xboxOneDisableKinectGpuReservation: 0
|
xboxOneDisableKinectGpuReservation: 0
|
||||||
virtualRealitySupported: 0
|
|
||||||
productGUID: 402278fad2098ce4eab29439139ae9ad
|
productGUID: 402278fad2098ce4eab29439139ae9ad
|
||||||
AndroidBundleVersionCode: 1
|
AndroidBundleVersionCode: 1
|
||||||
AndroidMinSdkVersion: 9
|
AndroidMinSdkVersion: 9
|
||||||
@ -120,7 +123,6 @@ PlayerSettings:
|
|||||||
iOSLaunchScreenCustomXibPath:
|
iOSLaunchScreenCustomXibPath:
|
||||||
AndroidTargetDevice: 0
|
AndroidTargetDevice: 0
|
||||||
AndroidSplashScreenScale: 0
|
AndroidSplashScreenScale: 0
|
||||||
androidSplashScreen: {fileID: 0}
|
|
||||||
AndroidKeystoreName:
|
AndroidKeystoreName:
|
||||||
AndroidKeyaliasName:
|
AndroidKeyaliasName:
|
||||||
AndroidTVCompatibility: 1
|
AndroidTVCompatibility: 1
|
||||||
@ -134,7 +136,6 @@ PlayerSettings:
|
|||||||
resolutionDialogBanner: {fileID: 0}
|
resolutionDialogBanner: {fileID: 0}
|
||||||
m_BuildTargetIcons: []
|
m_BuildTargetIcons: []
|
||||||
m_BuildTargetBatching: []
|
m_BuildTargetBatching: []
|
||||||
m_BuildTargetGraphicsAPIs: []
|
|
||||||
webPlayerTemplate: APPLICATION:Default
|
webPlayerTemplate: APPLICATION:Default
|
||||||
m_TemplateCustomTags: {}
|
m_TemplateCustomTags: {}
|
||||||
actionOnDotNetUnhandledException: 1
|
actionOnDotNetUnhandledException: 1
|
||||||
@ -196,7 +197,6 @@ PlayerSettings:
|
|||||||
ps4ApplicationParam2: 0
|
ps4ApplicationParam2: 0
|
||||||
ps4ApplicationParam3: 0
|
ps4ApplicationParam3: 0
|
||||||
ps4ApplicationParam4: 0
|
ps4ApplicationParam4: 0
|
||||||
ps4GarlicHeapSize: 2048
|
|
||||||
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
|
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
|
||||||
ps4pnSessions: 1
|
ps4pnSessions: 1
|
||||||
ps4pnPresence: 1
|
ps4pnPresence: 1
|
||||||
@ -339,7 +339,8 @@ PlayerSettings:
|
|||||||
blackberrySquareSplashScreen: {fileID: 0}
|
blackberrySquareSplashScreen: {fileID: 0}
|
||||||
tizenProductDescription:
|
tizenProductDescription:
|
||||||
tizenProductURL:
|
tizenProductURL:
|
||||||
tizenSigningProfileName:
|
tizenCertificatePath:
|
||||||
|
tizenCertificatePassword:
|
||||||
tizenGPSPermissions: 0
|
tizenGPSPermissions: 0
|
||||||
tizenMicrophonePermissions: 0
|
tizenMicrophonePermissions: 0
|
||||||
stvDeviceAddress:
|
stvDeviceAddress:
|
||||||
@ -397,9 +398,4 @@ PlayerSettings:
|
|||||||
- WebGL::template
|
- WebGL::template
|
||||||
WebGL::emscriptenArgs:
|
WebGL::emscriptenArgs:
|
||||||
WebGL::template: APPLICATION:Default
|
WebGL::template: APPLICATION:Default
|
||||||
firstStreamedSceneWithResources: 0
|
firstStreamedLevelWithResources: 0
|
||||||
cloudProjectId:
|
|
||||||
projectId:
|
|
||||||
projectName:
|
|
||||||
organizationId:
|
|
||||||
cloudEnabled: 0
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user