This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kenny' of https://github.com/kennyqiyenkan/Project-Uragon
Updated to latest
- Loading branch information
Showing
24 changed files
with
329 additions
and
152 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ typings | |
.tscache | ||
|
||
app/**/*.js | ||
app/**/*.map | ||
app/**/*.js.map | ||
app/*.js | ||
app/*.js.map | ||
platforms | ||
lib | ||
|
||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
// You can add custom settings here | ||
// for example you can uncomment the following line to force distribution code signing | ||
// CODE_SIGN_IDENTITY = iPhone Distribution | ||
// To build for device with XCode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html | ||
// DEVELOPMENT_TEAM = YOUR_TEAM_ID; | ||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
import {Component} from "@angular/core"; | ||
import { Component, OnInit } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "my-app", | ||
templateUrl: "app.component.html", | ||
selector: "main", | ||
template: "<page-router-outlet></page-router-outlet>" | ||
}) | ||
export class AppComponent { | ||
public counter: number = 16; | ||
|
||
public get message(): string { | ||
if (this.counter > 0) { | ||
return this.counter + " taps left"; | ||
} else { | ||
return "Hoorraaay! \nYou are ready to start building!"; | ||
} | ||
} | ||
|
||
public onTap() { | ||
this.counter--; | ||
} | ||
export class AppComponent implements OnInit | ||
{ | ||
ngOnInit() | ||
{ | ||
console.log(` | ||
DEBUG: AppComponent - ngOnInit() | ||
`); | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { NgModule, OnInit } from "@angular/core"; | ||
import { NativeScriptFormsModule } from "nativescript-angular/forms"; | ||
import { NativeScriptHttpModule } from "nativescript-angular/http"; | ||
import { NativeScriptModule } from "nativescript-angular/platform"; | ||
import { NativeScriptRouterModule } from "nativescript-angular/router"; | ||
|
||
import { AppComponent } from "./app.component"; | ||
import { routes, navigatableComponents } from "./app.routing"; | ||
|
||
@NgModule({ | ||
imports: [ | ||
NativeScriptModule, | ||
NativeScriptFormsModule, | ||
NativeScriptHttpModule, | ||
NativeScriptRouterModule, | ||
NativeScriptRouterModule.forRoot(routes) | ||
], | ||
declarations: [ | ||
AppComponent, | ||
...navigatableComponents | ||
], | ||
bootstrap: [AppComponent] | ||
}) | ||
export class AppModule implements OnInit | ||
{ | ||
ngOnInit() | ||
{ | ||
console.log(` | ||
DEBUG: AppModule - ngOnInit() | ||
`); | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { LoginComponent } from "./pages/login/login.component"; | ||
import { RegistrationComponent } from "./pages/registration/registration.component"; | ||
|
||
export const routes = [ | ||
{ path: "", component: LoginComponent }, | ||
{ path: "registration", component: RegistrationComponent } | ||
]; | ||
|
||
export const navigatableComponents = [ | ||
LoginComponent, | ||
RegistrationComponent | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
// this import should be first in order to load some required settings (like globals and reflect-metadata) | ||
import {nativeScriptBootstrap} from "nativescript-angular/application"; | ||
import {AppComponent} from "./app.component"; | ||
import { platformNativeScriptDynamic, NativeScriptModule } from "nativescript-angular/platform"; | ||
import { AppModule } from "./app.module"; | ||
|
||
nativeScriptBootstrap(AppComponent); | ||
platformNativeScriptDynamic().bootstrapModule(AppModule); |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,31 @@ | ||
export enum StatsEnum | ||
{ | ||
STRENGTH = "str", | ||
INTELLIGENCE = "int", | ||
DEXTERITY = "dex", | ||
VITALITY = "vit", | ||
AGILITY = "agi", | ||
LUCK = "luk", | ||
STRENGTH_MOD = "strMod", | ||
INTELLIGENCE_MOD = "intMod", | ||
DEXTERITY_MOD = "dexMod", | ||
VITALITY_MOD = "vitMod", | ||
AGILITY_MOD = "agiMod", | ||
LUCK_MOD = "lukMod" | ||
export class StatsEnum | ||
{//Class because.. Typescript.. | ||
//Main Stats | ||
static STRENGTH = "str"; | ||
static INTELLIGENCE = "int"; | ||
static DEXTERITY = "dex"; | ||
static VITALITY = "vit"; | ||
static AGILITY = "agi"; | ||
static LUCK = "luk"; | ||
|
||
static STRENGTH_MOD = "strMod"; | ||
static INTELLIGENCE_MOD = "intMod"; | ||
static DEXTERITY_MOD = "dexMod"; | ||
static VITALITY_MOD = "vitMod"; | ||
static AGILITY_MOD = "agiMod"; | ||
static LUCK_MOD = "lukMod"; | ||
|
||
//Secondary Stats | ||
static HEALTH_POINTS = "hp"; | ||
static MANA_POINTS = "mp"; | ||
static STAMINA_POINTS = "sp"; | ||
static PHYSICAL_ATTACK = "phAtk"; | ||
static MAGICAL_ATTACK = "mgAtk"; | ||
static RANGED_ATTACK = "rgAtk"; | ||
static CRITICAL_CHANCE = "critCh"; | ||
static ACCURACY = "acc"; | ||
static PHYSICAL_DEFENCE = "phDef"; | ||
static MAGICAL_DEFENCE = "mgDef"; | ||
static DODGE_CHANCE = "dCh"; | ||
static INITIATIVE = "init"; | ||
} |
This file contains 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
Oops, something went wrong.