Wort | Beschreibung | Beispiel |
---|---|---|
Attributstyp | namen der attribute | ID |
Attribut(swert) | Attribut / Wert des Typen | 2 |
Attributsmenge | Alle Attribute eines Attributtypen zusammen | 2,3,4,5 |
Entitätstyp | Alle Attributstypen | ID, Titel, Preis |
Entität | Einzelne Reihe (mit allen attributen) | 2,2.70 |
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
#include "M5Atom.h" | |
int delayAmt = 1000; | |
int second_10th = 0; | |
int second_1st = 0; | |
int minute_10th = 0; | |
int minute_1st = 0; |
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
#include <stdio.h> | |
#include <unistd.h> | |
void toBinary(int num, int pInt[5]); | |
int main() { | |
// endless loop counting the time in seconds | |
int second_10th = 0; | |
int second_1st = 0; |
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
public Integer getIntFromString(String s) { | |
try { | |
return Integer.parseInt(s); | |
} catch (NumberFormatException e) { | |
System.out.println("Error! Can't convert String to int!"); | |
return null; | |
} | |
} |
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
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "") package ${PACKAGE_NAME};#end | |
#parse("File Header.java") | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.GridPane; | |
import javafx.stage.Stage; | |
public class ${NAME} extends Application { | |
public static void main(String[] args) { |
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
# Slowly turn object towards another object in 3D space | |
func turn_face(target, rotationSpeed, delta): | |
var global_pos = global_transform.origin | |
var wtransform = global_transform.looking_at(Vector3(target.x,global_pos.y,target.z),Vector3(0,1,0)) | |
var wrotation = Quat(global_transform.basis).slerp(Quat(wtransform.basis), rotationSpeed*delta) | |
global_transform = Transform(Basis(wrotation), global_transform.origin) |
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
# return random value inside an array | |
func choose(array): | |
array.shuffle() | |
return array.front() |